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
11 package-
$(BR2_PACKAGE_WIFICONF
) += wificonf
14 ifeq ($(LINUX_VERSION
),2.4.30)
15 package-
$(BR2_PACKAGE_KMOD_WLCOMPAT
) += wlcompat
18 nvram-compile
: openwrt-compile
22 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
23 compile
: $(patsubst %,%-compile
,$(package-y
) $(package-m
))
24 install: $(patsubst %,%-install,$(package-y
))
26 MAKEOPTS
:= BOARD
="$(BOARD)" \
28 TARGET_DIR
="$(TARGET_DIR)" \
29 BUILD_DIR
="$(BUILD_DIR)" \
30 KERNEL_DIR
="$(KERNEL_DIR)" \
31 LINUX_VERSION
="$(LINUX_VERSION)" \
32 KERNEL_RELEASE
="$(KERNEL_RELEASE)"
36 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) \
41 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) \
46 $(MAKE
) -C
$(patsubst %-install,%,$@
) \
51 @
$(MAKE
) -C
$(patsubst %-clean,%,$@
) clean