mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 12:07:42 +02:00
add KERNEL variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1885 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0f567753a6
commit
e85b14fba4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user