don't pass build cflags to fuse kernel module
[openwrt.git] / openwrt / target / linux / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3
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 package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi
9 package-y += openwrt
10
11 ifeq ($(BOARD),brcm)
12 ifeq ($(LINUX_VERSION),2.4.30)
13 package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat
14 wlcompat-compile: openwrt-compile
15 endif
16 endif
17
18 all: compile install
19 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
20 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
21 install: $(patsubst %,%-install,$(package-y))
22
23 MAKEOPTS:= BOARD="$(BOARD)" \
24 IPKG="$(IPKG)" \
25 TARGET_DIR="$(TARGET_DIR)" \
26 BUILD_DIR="$(BUILD_DIR)" \
27 KERNEL_DIR="$(KERNEL_DIR)" \
28 LINUX_VERSION="$(LINUX_VERSION)" \
29 KERNEL_RELEASE="$(KERNEL_RELEASE)"
30
31
32 %-prepare:
33 $(MAKE) -C $(patsubst %-prepare,%,$@) \
34 $(MAKEOPTS) \
35 prepare
36
37 %-compile: %-prepare
38 $(MAKE) -C $(patsubst %-compile,%,$@) \
39 $(MAKEOPTS) \
40 compile
41
42 %-install: %-compile
43 $(MAKE) -C $(patsubst %-install,%,$@) \
44 $(MAKEOPTS) \
45 install
46
47 %-clean:
48 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
49
This page took 0.049786 seconds and 5 git commands to generate.