2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # Main makefile for the packages
8 include $(TOPDIR
)/rules.mk
11 package-
$(CONFIG_PACKAGE_KMOD_ALSA
) += alsa
12 package-
$(CONFIG_PACKAGE_KMOD_FUSE
) += fuse
13 package-
$(CONFIG_PACKAGE_KMOD_HOSTAP
) += hostap
14 package-
$(CONFIG_PACKAGE_KMOD_MADWIFI
) += madwifi
15 package-
$(CONFIG_PACKAGE_KMOD_MINI_FO
) += mini_fo
16 package-
$(CONFIG_PACKAGE_KMOD_OPENSWAN
) += openswan
17 package-
$(CONFIG_PACKAGE_KMOD_SHFS
) += shfs
18 package-
$(CONFIG_PACKAGE_KMOD_SPCA5XX
) += spca5xx
19 package-
$(CONFIG_PACKAGE_KMOD_SWITCH
) += switch
20 package-
$(CONFIG_PACKAGE_KMOD_UEAGLE_ATM
) += ueagle-atm
21 package-
$(CONFIG_PACKAGE_KMOD_DIAG
) += diag
22 package-
$(CONFIG_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
23 package-
$(CONFIG_PACKAGE_KMOD_ZD1211
) += zd1211
25 wlcompat-compile
: base-files-compile
28 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
29 prepare
: $(patsubst %,%-prepare
,$(package-y
) $(package-m
))
30 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
31 install: $(patsubst %,%-install,$(package-y
))
33 KPKG_MAKEOPTS
+= BUILD_DIR
="$(LINUX_BUILD_DIR)"
36 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
41 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
46 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
51 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) \