diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-06-30 21:29:08 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-07-04 09:06:33 +0200 |
commit | 12d1aa4b69614f6499847758294f8a40f1611710 (patch) | |
tree | 58c1d6e648a149cb40cc88a5727fdee0cb292244 /package/python/python.mk | |
parent | e57e4b96bf33b5a498608204913d6731a6856b5e (diff) | |
download | buildroot-12d1aa4b69614f6499847758294f8a40f1611710.tar.gz buildroot-12d1aa4b69614f6499847758294f8a40f1611710.zip |
Remove BR2_HAVE_DEVFILES
This finally removes the BR2_HAVE_DEVFILES option, that was used to
install/keep development files on target. With the recent migration of
the internal backend to the package infrastructure, we had anyway lost
the ability to build gcc for the target, and install the uClibc
development files on the target.
[Peter: also remove support/scripts/copy.sh]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/python/python.mk')
-rw-r--r-- | package/python/python.mk | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/package/python/python.mk b/package/python/python.mk index 363513dc3e..975d6f40c0 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -151,23 +151,13 @@ endef PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_REMOVE_SMTPD # -# Development files removal -# -define PYTHON_REMOVE_DEVFILES - rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON_VERSION_MAJOR)-config - rm -f $(TARGET_DIR)/usr/bin/python2-config - rm -f $(TARGET_DIR)/usr/bin/python-config -endef - -ifneq ($(BR2_HAVE_DEVFILES),y) -PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_REMOVE_DEVFILES -endif - -# # Remove useless files. In the config/ directory, only the Makefile # and the pyconfig.h files are needed at runtime. # define PYTHON_REMOVE_USELESS_FILES + rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON_VERSION_MAJOR)-config + rm -f $(TARGET_DIR)/usr/bin/python2-config + rm -f $(TARGET_DIR)/usr/bin/python-config for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/config/ \ -type f -not -name pyconfig.h -a -not -name Makefile` ; do \ rm -f $$i ; \ |