* disable ikconfig by default
[openwrt.git] / package / kernel / 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 # $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 NF_KMOD:=1
21 include $(INCLUDE_DIR)/netfilter.mk
22 endif
23
24 define Build/Prepare
25 mkdir -p $(PKG_BUILD_DIR)
26 endef
27
28 define Build/Configure
29 endef
30
31 define Build/Compile
32 endef
33
34 CONFIG_PACKAGE_kernel=y
35 define Package/kernel
36 SECTION:=sys
37 CATEGORY:=Kernel
38 DEFAULT:=y
39 TITLE:=Virtual kernel package
40 VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
41 endef
42
43 define Package/kernel/install
44 # nothing to do
45 endef
46
47 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
48
49 include $(TOPDIR)/target/linux/*/modules.mk
50 include ./modules/*.mk
This page took 0.049448 seconds and 5 git commands to generate.