Skip to contentSkip to conversation

svn commit: trunk/buildroot

Buildroot jacmet at uclibc.org 1 participant 1 message Jul 1, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-07-01 05:04:28 -0700 (Tue, 01 Jul 2008) New Revision: 22587

Log:
Makefile: remove target pkgconfig files if BR2_HAVE_DEVFILES isn't enabled

Modified:
trunk/buildroot/Makefile

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +1 -1
@@ -332,7 +332,7 @@
 ifeq ($(BR2_HAVE_DEVFILES),y)
 	( scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
 else
-	rm -rf $(TARGET_DIR)/usr/include
+	rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig
 	find $(TARGET_DIR)/usr/lib -name '*.a' -delete 
 	find $(TARGET_DIR)/lib -name '*.a' -delete 
 	find $(TARGET_DIR)/usr/lib -name '*.la' -delete