From 926646d9cab1bf66292eec51091d836f620b5e57 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 1 Jul 2008 12:04:28 +0000 Subject: [PATCH] Makefile: remove target pkgconfig files if BR2_HAVE_DEVFILES isn't enabled --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fcf69ce255..15529f7869 100644 --- a/Makefile +++ b/Makefile @@ -332,7 +332,7 @@ target-devfiles: 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 -- 2.30.2