fix the jffs2 eof detect patch for linux 2.6 (unlocking required for erasing blocks)
[openwrt.git] / target / linux / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3 include ../rules.mk
4
5 package-$(CONFIG_PACKAGE_KMOD_ALSA) += alsa
6 package-$(CONFIG_PACKAGE_KMOD_FUSE) += fuse
7 package-$(CONFIG_PACKAGE_KMOD_HOSTAP) += hostap
8 package-$(CONFIG_PACKAGE_KMOD_MADWIFI) += madwifi
9 package-$(CONFIG_PACKAGE_KMOD_MINI_FO) += mini_fo
10 package-$(CONFIG_PACKAGE_KMOD_OPENSWAN) += openswan
11 package-$(CONFIG_PACKAGE_KMOD_SHFS) += shfs
12 package-$(CONFIG_PACKAGE_KMOD_SPCA5XX) += spca5xx
13 package-$(CONFIG_PACKAGE_KMOD_SWITCH) += switch
14 package-$(CONFIG_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
15 package-$(CONFIG_PACKAGE_KMOD_DIAG) += diag
16 package-$(CONFIG_PACKAGE_KMOD_WLCOMPAT) += wlcompat
17 package-$(CONFIG_PACKAGE_KMOD_ZD1211) += zd1211
18
19 wlcompat-compile: base-files-compile
20
21 all: compile install
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))
26
27 KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
28
29 %-prepare: FORCE
30 $(MAKE) -C $(patsubst %-prepare,%,$@) \
31 $(KPKG_MAKEOPTS) \
32 prepare
33
34 %-compile: FORCE
35 $(MAKE) -C $(patsubst %-compile,%,$@) \
36 $(KPKG_MAKEOPTS) \
37 compile
38
39 %-install: FORCE
40 $(MAKE) -C $(patsubst %-install,%,$@) \
41 $(KPKG_MAKEOPTS) \
42 install
43
44 %-clean: FORCE
45 @$(MAKE) -C $(patsubst %-clean,%,$@) \
46 $(KPKG_MAKEOPTS) \
47 clean
48
This page took 0.04434 seconds and 5 git commands to generate.