add KERNEL variable

SVN-Revision: 1885
This commit is contained in:
Waldemar Brodkorb 2005-09-10 16:32:31 +00:00
parent 98ffb03e82
commit 3dc520ee66

View file

@ -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