source: branches/backfire/package/kernel/Makefile @ 23206

Last change on this file since 23206 was 23206, checked in by jow, 6 years ago

[backfire] merge r23173

  • Property svn:copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 875 bytes
Line 
1#
2# Copyright (C) 2006-2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=kernel
12PKG_FLAGS:=hold
13
14PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
15SCAN_DEPS=modules/*.mk
16
17include $(INCLUDE_DIR)/package.mk
18ifeq ($(DUMP),)
19  -include $(LINUX_DIR)/.config
20endif
21
22define Build/Prepare
23        mkdir -p $(PKG_BUILD_DIR)
24endef
25
26define Build/Configure
27endef
28
29define Build/Compile
30endef
31
32CONFIG_PACKAGE_kernel=y
33define Package/kernel
34  SECTION:=sys
35  CATEGORY:=Kernel
36  DEFAULT:=y
37  TITLE:=Virtual kernel package
38  VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)
39endef
40
41define Package/kernel/install
42  # nothing to do
43endef
44
45$(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
46
47-include $(TOPDIR)/target/linux/*/modules.mk
48include ./modules/*.mk
Note: See TracBrowser for help on using the repository browser.