summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-10 16:32:31 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-10 16:32:31 +0000
commit3dc520ee66c6a83ac09ce74608e3678a47db29ff (patch)
treeec847187983be3c1bd09f9ab8222d1ffaadc3f0f /openwrt
parent98ffb03e8270e8b015e09accdcb0068019fa0e8b (diff)
downloadmtk-20170518-3dc520ee66c6a83ac09ce74608e3678a47db29ff.zip
mtk-20170518-3dc520ee66c6a83ac09ce74608e3678a47db29ff.tar.gz
mtk-20170518-3dc520ee66c6a83ac09ce74608e3678a47db29ff.tar.bz2
add KERNEL variable
SVN-Revision: 1885
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/target/linux/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/openwrt/target/linux/Makefile b/openwrt/target/linux/Makefile
index e9edba2..6fec977 100644
--- a/openwrt/target/linux/Makefile
+++ b/openwrt/target/linux/Makefile
@@ -9,19 +9,19 @@ IB_DIR:=$(BUILD_DIR)/$(IB_NAME)
define kernel_template
$(1)/$(2)-clean:
- $(MAKE) -C linux-$(1) BOARD="$(2)" clean
+ $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" clean
$(1)/$(2)-prepare:
- $(MAKE) -C linux-$(1) BOARD="$(2)" prepare
+ $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" prepare
$(1)/$(2)-compile:
- $(MAKE) -C linux-$(1) BOARD="$(2)" compile
+ $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" compile
$(1)/$(2)-rebuild:
- $(MAKE) -C linux-$(1) BOARD="$(2)" rebuild
+ $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" rebuild
$(1)/$(2)-install:
- $(MAKE) -C linux-$(1) BOARD="$(2)" install
+ $(MAKE) -C linux-$(1) KERNEL="$(1)" BOARD="$(2)" install
$(1)/$(2)-image: $(1)/$(2)-install
$(MAKE) -C image KERNEL="$(1)" BOARD="$(2)" install