source: trunk/package/kernel/Makefile @ 17528

Last change on this file since 17528 was 17528, checked in by nbd, 7 years ago

now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore

  • Property svn:copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 859 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
12
13PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
14SCAN_DEPS=modules/*.mk
15
16include $(INCLUDE_DIR)/package.mk
17ifeq ($(DUMP),)
18  -include $(LINUX_DIR)/.config
19endif
20
21define Build/Prepare
22        mkdir -p $(PKG_BUILD_DIR)
23endef
24
25define Build/Configure
26endef
27
28define Build/Compile
29endef
30
31CONFIG_PACKAGE_kernel=y
32define Package/kernel
33  SECTION:=sys
34  CATEGORY:=Kernel
35  DEFAULT:=y
36  TITLE:=Virtual kernel package
37  VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)
38endef
39
40define Package/kernel/install
41  # nothing to do
42endef
43
44$(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
45
46-include $(TOPDIR)/target/linux/*/modules.mk
47include ./modules/*.mk
Note: See TracBrowser for help on using the repository browser.