1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
5 package-
$(CONFIG_PACKAGE_KMOD_ALSA
) += alsa
6 package-
$(CONFIG_PACKAGE_KMOD_FUSE
) += fuse
7 package-
$(CONFIG_PACKAGE_KMOD_HOSTAP
) += hostap
8 package-
$(CONFIG_PACKAGE_KMOD_MADWIFI
) += madwifi
9 package-
$(CONFIG_PACKAGE_KMOD_MINI_FO
) += mini_fo
10 package-
$(CONFIG_PACKAGE_KMOD_OPENSWAN
) += openswan
11 package-
$(CONFIG_PACKAGE_KMOD_SHFS
) += shfs
12 package-
$(CONFIG_PACKAGE_KMOD_SPCA5XX
) += spca5xx
13 package-
$(CONFIG_PACKAGE_KMOD_SWITCH
) += switch
14 package-
$(CONFIG_PACKAGE_KMOD_UEAGLE_ATM
) += ueagle-atm
15 package-
$(CONFIG_PACKAGE_KMOD_DIAG
) += diag
16 package-
$(CONFIG_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
17 package-
$(CONFIG_PACKAGE_KMOD_ZD1211
) += zd1211
19 wlcompat-compile
: base-files-compile
22 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
23 prepare
: $(patsubst %,%-prepare
,$(package-y
) $(package-m
))
24 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
25 install: $(patsubst %,%-install,$(package-y
))
27 KPKG_MAKEOPTS
+= BUILD_DIR
="$(LINUX_BUILD_DIR)"
30 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
35 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
40 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
45 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) \