2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
13 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
14 SCAN_DEPS=modules/*.mk
16 include $(INCLUDE_DIR)/package.mk
18 -include $(LINUX_DIR)/.config
22 mkdir -p $(PKG_BUILD_DIR)
25 define Build/Configure
31 CONFIG_PACKAGE_kernel=y
36 TITLE:=Virtual kernel package
37 VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)
38 URL:=http://www.kernel.org/
41 define Package/kernel/install
45 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
47 include ./modules/*.mk
48 -include $(TOPDIR)/target/linux/*/modules.mk