2006-07-18 19:17:19 +03:00
|
|
|
#
|
2010-04-23 14:27:29 +03:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-07-18 19:17:19 +03:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=kernel
|
2010-10-02 06:22:56 +03:00
|
|
|
PKG_FLAGS:=hold
|
2006-07-18 19:17:19 +03:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
|
2007-07-16 01:51:12 +03:00
|
|
|
SCAN_DEPS=modules/*.mk
|
2006-11-18 17:46:09 +02:00
|
|
|
|
2006-07-18 19:17:19 +03:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
ifeq ($(DUMP),)
|
2007-08-16 16:44:57 +03:00
|
|
|
-include $(LINUX_DIR)/.config
|
2006-07-18 19:17:19 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
2006-10-17 19:13:10 +03:00
|
|
|
define Build/Configure
|
2006-07-18 19:17:19 +03:00
|
|
|
endef
|
|
|
|
|
2006-10-17 19:13:10 +03:00
|
|
|
define Build/Compile
|
2006-07-18 19:17:19 +03:00
|
|
|
endef
|
|
|
|
|
2006-10-19 07:35:29 +03:00
|
|
|
CONFIG_PACKAGE_kernel=y
|
|
|
|
define Package/kernel
|
|
|
|
SECTION:=sys
|
|
|
|
CATEGORY:=Kernel
|
|
|
|
DEFAULT:=y
|
|
|
|
TITLE:=Virtual kernel package
|
2012-01-08 17:23:11 +02:00
|
|
|
VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC)
|
2010-04-23 14:27:29 +03:00
|
|
|
URL:=http://www.kernel.org/
|
2006-10-19 07:35:29 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/kernel/install
|
|
|
|
# nothing to do
|
|
|
|
endef
|
|
|
|
|
2007-04-18 15:40:20 +03:00
|
|
|
$(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
|
2006-10-19 07:35:29 +03:00
|
|
|
|
2011-08-15 02:36:42 +03:00
|
|
|
include $(sort $(wildcard ./modules/*.mk))
|
2010-04-24 14:41:35 +03:00
|
|
|
-include $(TOPDIR)/target/linux/*/modules.mk
|