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
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)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC)
39 URL:=http://www.kernel.org/
42 define Package/kernel/install
46 $(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
48 include $(sort $(wildcard ./modules/*.mk))
49 -include $(TOPDIR)/target/linux/*/modules.mk