2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
14 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
15 SCAN_DEPS=modules/*.mk
17 include $(INCLUDE_DIR)/package.mk
19 -include $(LINUX_DIR)/.config
23 mkdir -p $(PKG_BUILD_DIR)
26 define Build/Configure
32 CONFIG_PACKAGE_kernel=y
37 TITLE:=Virtual kernel package
38 VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
41 define Package/kernel/install
45 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
47 include $(TOPDIR)/target/linux/*/modules.mk
48 include ./modules/*.mk