[source] base-files: remove support of profile-specific base-files

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 25 23:28:22 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=5fd2eabeb27fc3d3b8d1c9fd1332c2229a6ff3d2

commit 5fd2eabeb27fc3d3b8d1c9fd1332c2229a6ff3d2
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Jul 26 08:14:14 2016 +0200

    base-files: remove support of profile-specific base-files
    
    It is incompatible with multi-profile builds and has not been used
    in-tree anyway.
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/base-files/Makefile | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index d036c92..a32f345 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -25,9 +25,6 @@ include $(INCLUDE_DIR)/package.mk
 ifneq ($(DUMP),1)
   STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell $(SH_FUNC) echo $(CONFIG_TARGET_INIT_PATH) | md5s)
   TARGET:=-$(BOARD)
-  ifneq ($(wildcard $(PLATFORM_DIR)/base-files-$(PROFILE) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)),)
-    TARGET:=$(TARGET)-$(PROFILE)
-  endif
 endif
 
 define Package/base-files
@@ -118,22 +115,10 @@ define Package/base-files/install
 	if [ -d $(PLATFORM_DIR)/base-files/. ]; then \
 		$(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \
 	fi
-	if [ -d $(PLATFORM_DIR)/base-files-$(PROFILE)/. ]; then \
-		$(CP) $(PLATFORM_DIR)/base-files-$(PROFILE)/* $(1)/; \
-	fi
-	if [ -d $(PLATFORM_DIR)/$(PROFILE)/base-files/. ]; then \
-		$(CP) $(PLATFORM_DIR)/$(PROFILE)/base-files/* $(1)/; \
-	fi
 	$(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
 		if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \
 			$(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \
 		fi; \
-		if [ -d $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/. ]; then \
-			$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
-		fi; \
-		if [ -d $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/. ]; then \
-			$(CP) $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/* $(1)/; \
-		fi \
 	)
 
 	$(VERSION_SED) \



More information about the lede-commits mailing list