summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-06 22:36:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-06 22:36:42 +0000
commit0b9cfab2a28eeda02696e3d01e8d435d79f8cfc4 (patch)
treea10486b49863cc3894d120969cca733ec2ded2f2 /package/base-files/Makefile
parentc545c84e1355edbf5e518f82ecaaa23215e90559 (diff)
downloadmtk-20170518-0b9cfab2a28eeda02696e3d01e8d435d79f8cfc4.zip
mtk-20170518-0b9cfab2a28eeda02696e3d01e8d435d79f8cfc4.tar.gz
mtk-20170518-0b9cfab2a28eeda02696e3d01e8d435d79f8cfc4.tar.bz2
base-files: fix Build/Compile override handling, fixes ar7 compile
SVN-Revision: 25911
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 1d1a07f..61296b0 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -324,9 +324,6 @@ define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
-define Build/Compile/Default
-endef
-
LIBGCC_A=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc_pic.a)
LIBGCC_MAP=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.map)
BUILD_LIBGCC:=$(if $(CONFIG_avr32)$(CONFIG_m68k),,$(PKG_BUILD_DIR)/libgcc_s.so.*)
@@ -375,11 +372,11 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
endif
endif
-define Build/Compile
- $(call Build/Compile/Default)
+define Build/Compile/Default
$(call Build/Compile/libgcc)
$(call Build/Compile/$(LIBC))
endef
+Build/Compile = $(Build/Compile/Default)
define Package/base-files/install
$(CP) ./files/* $(1)/