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-y
+= base-files
15 ifeq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
16 package-
$(BR2_PACKAGE_KMOD_DIAG
) += diag
17 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
18 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 MAKEOPTS
:= BOARD
="$(BOARD)" \
30 TARGET_DIR
="$(TARGET_DIR)" \
31 BUILD_DIR
="$(BUILD_DIR)" \
32 KERNEL_DIR
="$(KERNEL_DIR)" \
33 LINUX_VERSION
="$(LINUX_VERSION)" \
34 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
38 @
$(START_TRACE
) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
39 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
46 @
$(START_TRACE
) "target/linux/package/$(patsubst %-compile,%,$@)-compile: "
47 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
54 @
$(START_TRACE
) "target/linux/package/$(patsubst %-install,%,$@)-install: "
55 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
62 @
$(START_TRACE
) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
63 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean