package/{pkg-generic, python, python3}: rename .py file exclusion variable to not...
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Dec 2019 20:55:37 +0000 (21:55 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Dec 2019 20:55:37 +0000 (21:55 +0100)
commit0f5ac40374c91e44af8c3806e848f8e62c42b140
tree295eb7d44c34f6e78bc5af7572e55411cff5698e
parentca440a773bd56104fe4709d721c93ec15d1db93f
package/{pkg-generic, python, python3}: rename .py file exclusion variable to not conflict

Fixes:
http://autobuild.buildroot.net/results/3b6/3b6280b0b7a9634b747db2865b21c6266007c725/

The PYTHON_KEEP_PY_FILES global variable conflicts with the per-package
<pkg>_KEEP_PY_FILES variable for the python package, causing make to
complain:

package/zlib/zlib.mk:7: *** Recursive variable 'PYTHON_KEEP_PY_FILES' references itself (eventually).  Stop.

As a workaround, rename the global variable to KEEP_PYTHON_PY_FILES so it
cannot conflict with the per-package variable.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-generic.mk
package/python/python.mk
package/python3/python3.mk