remove obsolete and unmaintained packages, as soon as 2.6.17 is out, dscape and bcm43...
[openwrt.git] / openwrt / 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_MADWIFI) += madwifi
10 package-$(BR2_PACKAGE_KMOD_MADWIFI_OLD) += madwifi-old
11 package-$(BR2_PACKAGE_KMOD_MINI_FO) += mini_fo
12 package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan
13 package-$(BR2_PACKAGE_KMOD_SHFS) += shfs
14 package-$(BR2_PACKAGE_KMOD_SPCA5XX) += spca5xx
15 package-$(BR2_PACKAGE_KMOD_SWITCH) += switch
16 package-$(BR2_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
17 package-$(BR2_PACKAGE_KMOD_DIAG) += diag
18 package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat
19 package-$(BR2_PACKAGE_KMOD_ZD1211) += zd1211
20
21 wlcompat-compile: base-files-compile
22
23 all: compile install
24 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
25 prepare: $(patsubst %,%-prepare,$(package-y) $(package-m))
26 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
27 install: $(patsubst %,%-install,$(package-y))
28
29 KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
30
31 %-prepare:
32 @$(START_TRACE) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
33 $(MAKE) -C $(patsubst %-prepare,%,$@) \
34 $(KPKG_MAKEOPTS) \
35 prepare
36 @$(CMD_TRACE) " done"
37 @$(END_TRACE)
38
39 %-compile:
40 @$(START_TRACE) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
41 $(MAKE) -C $(patsubst %-compile,%,$@) \
42 $(KPKG_MAKEOPTS) \
43 compile
44 @$(CMD_TRACE) " done"
45 @$(END_TRACE)
46
47 %-install:
48 @$(START_TRACE) "target/linux/package/$(patsubst %-install,%,$@)-install: "
49 $(MAKE) -C $(patsubst %-install,%,$@) \
50 $(KPKG_MAKEOPTS) \
51 install
52 @$(CMD_TRACE) " done"
53 @$(END_TRACE)
54
55 %-clean:
56 @$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
57 @$(MAKE) -C $(patsubst %-clean,%,$@) \
58 $(KPKG_MAKEOPTS) \
59 clean
60 @$(CMD_TRACE) " done"
61 @$(END_TRACE)
62
This page took 0.039572 seconds and 5 git commands to generate.