From 12d1aa4b69614f6499847758294f8a40f1611710 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Jun 2013 21:29:08 +0200 Subject: 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 Signed-off-by: Peter Korsgaard --- package/python3/python3.mk | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'package/python3') diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 39202ff1b..ed79f8e3e 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -133,24 +133,14 @@ endef PYTHON3_POST_INSTALL_STAGING_HOOKS += PYTHON3_FIXUP_LIBDIR -# -# Development files removal -# -define PYTHON3_REMOVE_DEVFILES - rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)-config - rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)m-config - rm -f $(TARGET_DIR)/usr/bin/python3-config -endef - -ifneq ($(BR2_HAVE_DEVFILES),y) -PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_REMOVE_DEVFILES -endif - # # Remove useless files. In the config/ directory, only the Makefile # and the pyconfig.h files are needed at runtime. # define PYTHON3_REMOVE_USELESS_FILES + rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)-config + rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)m-config + rm -f $(TARGET_DIR)/usr/bin/python3-config for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/config-3.3m/ \ -type f -not -name pyconfig.h -a -not -name Makefile` ; do \ rm -f $$i ; \ -- cgit v1.2.3