[tools] mpc: update to 0.9
[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 PKG_FLAGS:=hold
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)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC)
39 URL:=http://www.kernel.org/
40 endef
41
42 define Package/kernel/install
43 # nothing to do
44 endef
45
46 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
47
48 include $(sort $(wildcard ./modules/*.mk))
49 -include $(TOPDIR)/target/linux/*/modules.mk
This page took 0.069049 seconds and 5 git commands to generate.