remove madwifi-old
[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-$(CONFIG_PACKAGE_KMOD_ALSA) += alsa
7 package-$(CONFIG_PACKAGE_KMOD_FUSE) += fuse
8 package-$(CONFIG_PACKAGE_KMOD_HOSTAP) += hostap
9 package-$(CONFIG_PACKAGE_KMOD_MADWIFI) += madwifi
10 package-$(CONFIG_PACKAGE_KMOD_MINI_FO) += mini_fo
11 package-$(CONFIG_PACKAGE_KMOD_OPENSWAN) += openswan
12 package-$(CONFIG_PACKAGE_KMOD_SHFS) += shfs
13 package-$(CONFIG_PACKAGE_KMOD_SPCA5XX) += spca5xx
14 package-$(CONFIG_PACKAGE_KMOD_SWITCH) += switch
15 package-$(CONFIG_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
16 package-$(CONFIG_PACKAGE_KMOD_DIAG) += diag
17 package-$(CONFIG_PACKAGE_KMOD_WLCOMPAT) += wlcompat
18 package-$(CONFIG_PACKAGE_KMOD_ZD1211) += zd1211
19
20 wlcompat-compile: base-files-compile
21
22 all: compile install
23 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
24 prepare: $(patsubst %,%-prepare,$(package-y) $(package-m))
25 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
26 install: $(patsubst %,%-install,$(package-y))
27
28 KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
29
30 %-prepare:
31 $(MAKE) -C $(patsubst %-prepare,%,$@) \
32 $(KPKG_MAKEOPTS) \
33 prepare
34
35 %-compile:
36 $(MAKE) -C $(patsubst %-compile,%,$@) \
37 $(KPKG_MAKEOPTS) \
38 compile
39
40 %-install:
41 $(MAKE) -C $(patsubst %-install,%,$@) \
42 $(KPKG_MAKEOPTS) \
43 install
44
45 %-clean:
46 @$(MAKE) -C $(patsubst %-clean,%,$@) \
47 $(KPKG_MAKEOPTS) \
48 clean
49
This page took 0.046111 seconds and 5 git commands to generate.