package/kernel: add another round of missing bits from [21137] & [21138] (oops again)
[openwrt.git] / package / kernel / Makefile
1 #
2 # Copyright (C) 2006-2010 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 URL:=http://www.kernel.org/
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 ./modules/*.mk
48 -include $(TOPDIR)/target/linux/*/modules.mk
This page took 0.055748 seconds and 5 git commands to generate.