source: freewrt/target/linux/Makefile@ 1b2d56f

freewrt_2_0
Last change on this file since 1b2d56f was 1b2d56f, checked in by Waldemar Brodkorb <wbx@…>, 4 months ago

linux: update to 6.12, cleanup

  • Property mode set to 100644
File size: 2.5 KB
Line 
1# This file is part of the FreeWRT project. FreeWRT is copyrighted
2# material, please see the LICENCE file in the top-level directory
3
4include $(TOPDIR)/rules.mk
5
6define kernel_template
7
8$(1)/$(2)/$(3)-clean:
9 @$(TRACE) target/linux/$(2)-$(1)-clean
10 $(MAKE) -C $(2)-$(1) BOARD="$(2)" MODEL="$(3)" clean
11
12$(1)/$(2)/$(3)-prepare:
13 @$(TRACE) target/linux/$(2)-$(1)-prepare
14 $(MAKE) -C $(2)-$(1) BOARD="$(2)" MODEL="$(3)" prepare
15
16$(1)/$(2)/$(3)-compile:
17 @$(TRACE) target/linux/$(2)-$(1)-compile
18 $(MAKE) -C $(2)-$(1) BOARD="$(2)" MODEL="$(3)" compile
19
20$(1)/$(2)/$(3)-rebuild:
21 @$(TRACE) target/linux/$(2)-$(1)-rebuild
22 $(MAKE) -C $(2)-$(1) BOARD="$(2)" MODEL="$(3)" rebuild
23
24$(1)/$(2)/$(3)-install:
25 @$(TRACE) target/linux/$(2)-$(1)-install
26 $(MAKE) -C $(2)-$(1) BOARD="$(2)" MODEL="$(3)" install
27
28ifeq ($(FWRT_LINUX_$(4)),y)
29clean: $(1)/$(2)/$(3)-clean
30prepare: $(1)/$(2)/$(3)-prepare
31compile: $(1)/$(2)/$(3)-compile
32rebuild: $(1)/$(2)/$(3)-rebuild
33install: $(1)/$(2)/$(3)-install
34endif
35
36.PHONY: $(1)/$(2)/$(3)-clean $(1)/$(2)/$(3)-prepare \
37 $(1)/$(2)/$(3)-compile $(1)/$(2)/$(3)-rebuild \
38 $(1)/$(2)/$(3)-install
39endef
40
41.PHONY: clean prepare compile rebuild install
42
43prepare:
44compile:
45install:
46rebuild:
47clean:
48
49# asus models
50$(eval $(call kernel_template,6.12,brcm,asus-wl500g,BRCM_ASUS_WL500G))
51$(eval $(call kernel_template,6.12,brcm,asus-wl500g-deluxe,BRCM_ASUS_WL500G_DELUXE))
52$(eval $(call kernel_template,6.12,brcm,asus-wl500g-premium,BRCM_ASUS_WL500G_PREMIUM))
53# linksys models
54$(eval $(call kernel_template,6.12,brcm,linksys-wrt54gs-10,BRCM_LINKSYS_WRT54GS_10))
55$(eval $(call kernel_template,6.12,brcm,linksys-wrt54gs-11,BRCM_LINKSYS_WRT54GS_11))
56$(eval $(call kernel_template,6.12,brcm,linksys-wrt54gs-4,BRCM_LINKSYS_WRT54GS_4))
57$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-10,BRCM_LINKSYS_WRT54G_10))
58$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-11,BRCM_LINKSYS_WRT54G_11))
59$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-20,BRCM_LINKSYS_WRT54G_20))
60$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-22,BRCM_LINKSYS_WRT54G_22))
61$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-30,BRCM_LINKSYS_WRT54G_30))
62$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-31,BRCM_LINKSYS_WRT54G_31))
63$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g-4,BRCM_LINKSYS_WRT54G_4))
64$(eval $(call kernel_template,6.12,brcm,linksys-wrt54gl,BRCM_LINKSYS_WRT54GL))
65$(eval $(call kernel_template,6.12,brcm,linksys-wrt54g3g,BRCM_LINKSYS_WRT54G3G))
66# netgear models
67$(eval $(call kernel_template,6.12,brcm,netgear-wgt634u,BRCM_NETGEAR_WGT634U))
Note: See TracBrowser for help on using the repository browser.