1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
5 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_MINI_FO
) += mini_fo
11 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
12 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
13 package-
$(BR2_PACKAGE_KMOD_SPCA5XX
) += spca5xx
14 package-
$(BR2_PACKAGE_KMOD_SWITCH
) += switch
15 package-y
+= base-files
17 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
18 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
19 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
20 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 MAKEOPTS
:= BOARD
="$(BOARD)" \
32 TARGET_DIR
="$(TARGET_DIR)" \
33 BUILD_DIR
="$(BUILD_DIR)" \
34 KERNEL_DIR
="$(KERNEL_DIR)" \
35 LINUX_VERSION
="$(LINUX_VERSION)" \
36 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
40 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
41 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
48 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
49 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
56 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
57 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
64 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
65 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean