1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
4 package-
$(BR2_PACKAGE_KMOD_FUSE
) += fuse
5 package-
$(BR2_PACKAGE_KMOD_MINI_FO
) += mini_fo
6 package-
$(BR2_PACKAGE_KMOD_SHFS
) += shfs
7 package-
$(BR2_PACKAGE_KMOD_OPENSWAN
) += openswan
8 ifeq ($(LINUX_VERSION
),2.4.30)
9 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
13 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
14 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
15 install: $(patsubst %,%-install,$(package-y
))
17 MAKEOPTS
:= BOARD
="$(BOARD)" \
19 TARGET_DIR
="$(TARGET_DIR)" \
20 BUILD_DIR
="$(BUILD_DIR)" \
21 KERNEL_DIR
="$(KERNEL_DIR)" \
22 LINUX_VERSION
="$(LINUX_VERSION)" \
23 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
27 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
32 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
37 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
42 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean