adm5120: add preliminary support for 2.6.31
[openwrt.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
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=kernel
12
13 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
14 SCAN_DEPS=modules/*.mk
15
16 include $(INCLUDE_DIR)/package.mk
17 ifeq ($(DUMP),)
18 -include $(LINUX_DIR)/.config
19 endif
20
21 define Build/Prepare
22 mkdir -p $(PKG_BUILD_DIR)
23 endef
24
25 define Build/Configure
26 endef
27
28 define Build/Compile
29 endef
30
31 CONFIG_PACKAGE_kernel=y
32 define Package/kernel
33 SECTION:=sys
34 CATEGORY:=Kernel
35 DEFAULT:=y
36 TITLE:=Virtual kernel package
37 VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)
38 endef
39
40 define Package/kernel/install
41 # nothing to do
42 endef
43
44 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
45
46 -include $(TOPDIR)/target/linux/*/modules.mk
47 include ./modules/*.mk
This page took 0.055719 seconds and 5 git commands to generate.