add some options to the lzma kernel compressor for smaller size
[openwrt.git] / target / linux / Makefile
1 include $(TOPDIR)/rules.mk
2
3 define kernel_template
4
5 $(1)/$(2)-clean:
6 $(MAKE) -C $(1) BOARD="$(2)" clean
7
8 $(1)/$(2)-prepare:
9 $(MAKE) -C $(1) BOARD="$(2)" prepare
10
11 $(1)/$(2)-compile:
12 $(MAKE) -C $(1) BOARD="$(2)" compile
13
14 $(1)/$(2)-install:
15 $(MAKE) -C $(1) BOARD="$(2)" install
16
17 ifeq ($(BR2_LINUX_$(3)),y)
18 clean: $(1)/$(2)-clean
19 prepare: $(1)/$(2)-prepare
20 compile: $(1)/$(2)-compile
21 install: $(1)/$(2)-install
22 endif
23
24 .PHONY: $(1)/$(2)-clean $(1)/$(2)-prepare $(1)/$(2)-compile $(1)/$(2)-install
25 endef
26
27 prepare:
28 compile:
29 install:
30 clean:
31 rm -rf $(BUILD_DIR)/kernel
32
33 $(eval $(call kernel_template,linux-2.4,brcm,2_4_BRCM))
This page took 0.046403 seconds and 5 git commands to generate.