X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f22255f8ee87b9677447fb7bd7461a55f6bbb010..8dde7740ee758ab54a94c663081afae7d5163d6b:/target/linux/Makefile diff --git a/target/linux/Makefile b/target/linux/Makefile index e9edba256..6fec977d6 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