add phidget kernel module from #4116
[openwrt/svn-archive/archive.git] / package / kernel / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=kernel
13
14 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
15 SCAN_DEPS=modules/*.mk
16
17 include $(INCLUDE_DIR)/package.mk
18 ifeq ($(DUMP),)
19 -include $(LINUX_DIR)/.config
20 endif
21
22 define Build/Prepare
23 mkdir -p $(PKG_BUILD_DIR)
24 endef
25
26 define Build/Configure
27 endef
28
29 define Build/Compile
30 endef
31
32 CONFIG_PACKAGE_kernel=y
33 define Package/kernel
34 SECTION:=sys
35 CATEGORY:=Kernel
36 DEFAULT:=y
37 TITLE:=Virtual kernel package
38 VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
39 endef
40
41 define Package/kernel/install
42 # nothing to do
43 endef
44
45 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
46
47 -include $(TOPDIR)/target/linux/*/modules.mk
48 include ./modules/*.mk