add generic ide support for x86-2.6
[openwrt.git] / target / linux / package / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # Main makefile for the packages
8 include $(TOPDIR)/rules.mk
9 include ../rules.mk
10
11 package-$(CONFIG_PACKAGE_KMOD_ALSA) += alsa
12 package-$(CONFIG_PACKAGE_KMOD_FUSE) += fuse
13 package-$(CONFIG_PACKAGE_KMOD_HOSTAP) += hostap
14 package-$(CONFIG_PACKAGE_KMOD_MADWIFI) += madwifi
15 package-$(CONFIG_PACKAGE_KMOD_MINI_FO) += mini_fo
16 package-$(CONFIG_PACKAGE_KMOD_OPENSWAN) += openswan
17 package-$(CONFIG_PACKAGE_KMOD_SHFS) += shfs
18 package-$(CONFIG_PACKAGE_KMOD_SPCA5XX) += spca5xx
19 package-$(CONFIG_PACKAGE_KMOD_SWITCH) += switch
20 package-$(CONFIG_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
21 package-$(CONFIG_PACKAGE_KMOD_DIAG) += diag
22 package-$(CONFIG_PACKAGE_KMOD_WLCOMPAT) += wlcompat
23 package-$(CONFIG_PACKAGE_KMOD_ZD1211) += zd1211
24
25 wlcompat-compile: base-files-compile
26
27 all: compile install
28 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
29 prepare: $(patsubst %,%-prepare,$(package-y) $(package-m))
30 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
31 install: $(patsubst %,%-install,$(package-y))
32
33 KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
34
35 %-prepare: FORCE
36 $(MAKE) -C $(patsubst %-prepare,%,$@) \
37 $(KPKG_MAKEOPTS) \
38 prepare
39
40 %-compile: FORCE
41 $(MAKE) -C $(patsubst %-compile,%,$@) \
42 $(KPKG_MAKEOPTS) \
43 compile
44
45 %-install: FORCE
46 $(MAKE) -C $(patsubst %-install,%,$@) \
47 $(KPKG_MAKEOPTS) \
48 install
49
50 %-clean: FORCE
51 @$(MAKE) -C $(patsubst %-clean,%,$@) \
52 $(KPKG_MAKEOPTS) \
53 clean
54
This page took 0.043767 seconds and 5 git commands to generate.