diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-20 23:49:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-20 23:49:23 +0000 |
commit | 96930ce1ee4e0743700f57151e997e379134777c (patch) | |
tree | 3a29a73608c80dd39fb800ebb5875dac519905a3 /openwrt/toolchain/Makefile | |
parent | c1f706433081c5341c3526551f3a485149c44336 (diff) | |
download | mtk-20170518-96930ce1ee4e0743700f57151e997e379134777c.zip mtk-20170518-96930ce1ee4e0743700f57151e997e379134777c.tar.gz mtk-20170518-96930ce1ee4e0743700f57151e997e379134777c.tar.bz2 |
add toolchain/download target
SVN-Revision: 4029
Diffstat (limited to 'openwrt/toolchain/Makefile')
-rw-r--r-- | openwrt/toolchain/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openwrt/toolchain/Makefile b/openwrt/toolchain/Makefile index 8e26db5..fac0468 100644 --- a/openwrt/toolchain/Makefile +++ b/openwrt/toolchain/Makefile @@ -1,12 +1,14 @@ # Main makefile for the toolchain include $(TOPDIR)/rules.mk -TARGETS-y:=sed utils binutils gcc uClibc ipkg-utils libnotimpl +TARGETS-y:=sed kernel-headers utils binutils gcc uClibc ipkg-utils libnotimpl TARGETS-$(CONFIG_GDB) += gdb +TARGETS_DOWNLOAD:=$(patsubst %,%-source,$(TARGETS-y)) TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS-y)) TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS-y)) all: install +download: $(TARGETS_DOWNLOAD) install: $(TARGETS_INSTALL) clean: $(TARGETS_CLEAN) @@ -30,6 +32,9 @@ $(STAGING_DIR): $(TOOL_BUILD_DIR): @mkdir -p $@ +%-source: FORCE + $(MAKE) -C $(patsubst %-source,%,$@) source + %-prepare: $(TOOLCHAIN_STAMP_DIR) $(STAGING_DIR) $(TOOL_BUILD_DIR) FORCE @[ -f $(TOOLCHAIN_STAMP_DIR)/.toolchain_$@ ] || { \ $(MAKE) -C $(patsubst %-prepare,%,$@) prepare; \ |