diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2009-05-04 12:39:21 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2009-05-04 12:39:21 +0000 |
commit | 4d2c788c1e58ca8ecf141a513898673788f54552 (patch) | |
tree | be3e948ccae9a36d03efbbebc1ebf5f5c2bbd64a /package/base-files/Makefile | |
parent | d4c8c5d3a097232b50c594b9a95f699182d25784 (diff) | |
download | upstream-4d2c788c1e58ca8ecf141a513898673788f54552.tar.gz upstream-4d2c788c1e58ca8ecf141a513898673788f54552.tar.bz2 upstream-4d2c788c1e58ca8ecf141a513898673788f54552.zip |
base-files: Add additional base-files search paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15583 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 5578c90da8..c47a0f8ba4 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -148,12 +148,18 @@ define Package/base-files$(TARGET)/install 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 \ ) # Form valid /etc/shadow entries, by copying the user:pw pairs |