1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
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
20 wlcompat-compile
: base-files-compile
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
))
28 KPKG_MAKEOPTS
+= BUILD_DIR
="$(LINUX_BUILD_DIR)"
31 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
36 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
41 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
46 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) \