From e85b14fba4f60938c973cda30865dbd0bbbd0d65 Mon Sep 17 00:00:00 2001 From: wbx Date: Sat, 10 Sep 2005 16:32:31 +0000 Subject: [PATCH] add KERNEL variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1885 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/linux/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openwrt/target/linux/Makefile b/openwrt/target/linux/Makefile index e9edba256..6fec977d6 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 -- 2.20.1