1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
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
21 wlcompat-compile
: base-files-compile
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
))
29 KPKG_MAKEOPTS
+= BUILD_DIR
="$(LINUX_BUILD_DIR)"
32 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
33 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
40 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
41 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
48 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
49 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
56 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
57 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) \