aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-08 19:55:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-08 19:55:42 +0000
commit6bcd07afdd1ffcba5fe94f1291b4e4f0c764263e (patch)
tree30cacdb892969714d2a079f391ba6786b7c36489 /package/base-files/Makefile
parent9647361f814667b536160d416666bd25ab4b82fa (diff)
downloadupstream-6bcd07afdd1ffcba5fe94f1291b4e4f0c764263e.tar.gz
upstream-6bcd07afdd1ffcba5fe94f1291b4e4f0c764263e.tar.bz2
upstream-6bcd07afdd1ffcba5fe94f1291b4e4f0c764263e.zip
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index dcf0835ecc..9b8478dfc8 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -71,7 +71,7 @@ endef
define Package/libgcc
$(call Package/gcc/Default)
TITLE:=GCC support library
- DEPENDS:=@!TARGET_AVR32 @!NATIVE_TOOLCHAIN
+ DEPENDS:=@!TARGET_avr32 @!NATIVE_TOOLCHAIN
endef
define Package/libssp
@@ -123,6 +123,11 @@ define Package/base-files$(TARGET)/install
if [ -d $(PLATFORM_DIR)/base-files/default/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files/default/* $(1)/; \
fi
+ $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
+ if [ -d $(PLATFORM_SUBDIR)/base-files/default/. ]; then \
+ $(CP) $(PLATFORM_SUBDIR)/base-files/default/* $(1)/; \
+ fi \
+ )
if [ "$(PROFILE)" != "Default" ]; then \
if [ -d $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/* $(1)/; \