From: Waldemar Brodkorb Date: Sat, 10 Sep 2005 16:32:31 +0000 (+0000) Subject: add KERNEL variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3dc520ee66c6a83ac09ce74608e3678a47db29ff;p=openwrt%2Fstaging%2Fnbd.git add KERNEL variable SVN-Revision: 1885 --- diff --git a/openwrt/target/linux/Makefile b/openwrt/target/linux/Makefile index e9edba256e..6fec977d65 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