remove ethernet bonding updates
[openwrt.git] / target / linux / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3 include ../rules.mk
4
5 package-y += base-files
6 package-$(BR2_PACKAGE_KMOD_ALSA) += alsa
7 package-$(BR2_PACKAGE_KMOD_FUSE) += fuse
8 package-$(BR2_PACKAGE_KMOD_HOSTAP) += hostap
9 package-$(BR2_PACKAGE_KMOD_BCM43XX_STANDALONE) += bcm43xx-standalone
10 package-$(BR2_PACKAGE_KMOD_IEEE80211_DSCAPE) += ieee80211-dscape
11 package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi
12 package-$(BR2_PACKAGE_KMOD_MADWIFI_OLD) += madwifi-old
13 package-$(BR2_PACKAGE_KMOD_MINI_FO) += mini_fo
14 package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan
15 package-$(BR2_PACKAGE_KMOD_SHFS) += shfs
16 package-$(BR2_PACKAGE_KMOD_SPCA5XX) += spca5xx
17 package-$(BR2_PACKAGE_KMOD_SWITCH) += switch
18 package-$(BR2_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
19 package-$(BR2_PACKAGE_KMOD_DIAG) += diag
20 package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat
21 package-$(BR2_PACKAGE_KMOD_ZD1211) += zd1211
22
23 bcm43xx-standalone-compile: ieee80211-dscape-compile
24 wlcompat-compile: base-files-compile
25
26 all: compile install
27 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
28 prepare: $(patsubst %,%-prepare,$(package-y) $(package-m))
29 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
30 install: $(patsubst %,%-install,$(package-y))
31
32 KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
33
34 %-prepare:
35 @$(START_TRACE) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
36 $(MAKE) -C $(patsubst %-prepare,%,$@) \
37 $(KPKG_MAKEOPTS) \
38 prepare
39 @$(CMD_TRACE) " done"
40 @$(END_TRACE)
41
42 %-compile:
43 @$(START_TRACE) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
44 $(MAKE) -C $(patsubst %-compile,%,$@) \
45 $(KPKG_MAKEOPTS) \
46 compile
47 @$(CMD_TRACE) " done"
48 @$(END_TRACE)
49
50 %-install:
51 @$(START_TRACE) "target/linux/package/$(patsubst %-install,%,$@)-install: "
52 $(MAKE) -C $(patsubst %-install,%,$@) \
53 $(KPKG_MAKEOPTS) \
54 install
55 @$(CMD_TRACE) " done"
56 @$(END_TRACE)
57
58 %-clean:
59 @$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
60 @$(MAKE) -C $(patsubst %-clean,%,$@) \
61 $(KPKG_MAKEOPTS) \
62 clean
63 @$(CMD_TRACE) " done"
64 @$(END_TRACE)
65
This page took 0.052348 seconds and 5 git commands to generate.