aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-09-10 16:32:31 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-09-10 16:32:31 +0000
commitf0a91e0267ea60c290d9868fad04c3e08894e344 (patch)
tree95627f21f5d5aab143c8807470d273120da6e415 /target/linux/Makefile
parent7e193e707ffede27a21e66c78cf612fb33516e8e (diff)
downloadupstream-f0a91e0267ea60c290d9868fad04c3e08894e344.tar.gz
upstream-f0a91e0267ea60c290d9868fad04c3e08894e344.tar.bz2
upstream-f0a91e0267ea60c290d9868fad04c3e08894e344.zip
add KERNEL variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/Makefile')
-rw-r--r--target/linux/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/Makefile b/target/linux/Makefile
index e9edba256e..6fec977d65 100644
--- a/target/linux/Makefile
+++ b/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