diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-08 19:55:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-08 19:55:42 +0000 |
commit | a9d683ca912b2c4837b2e65909c09ca01babe3df (patch) | |
tree | 6cbca6e13dd0bb18c9d9f1d4baa9a0ea7801b959 /package/base-files/Makefile | |
parent | 4a2e4920b1d909ca254853b0dce46af3123e8f74 (diff) | |
download | mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.zip mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.tar.gz mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.tar.bz2 |
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
SVN-Revision: 8694
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index dcf0835..9b8478d 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)/; \ |