enable dso support back in openssl, needed to use shared zlib compression, and should...
[openwrt.git] / package / kernel / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=kernel
13 PKG_VERSION:=$(LINUX_VERSION)-$(BOARD)
14 PKG_RELEASE:=$(LINUX_RELEASE)
15
16 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
17 PKG_FILE_DEPEND:=$(MODULES_DIR)
18
19 # build all in-tree kmod-* packages by default
20 KMOD_DEFAULT:=m
21
22 include $(INCLUDE_DIR)/package.mk
23 ifeq ($(DUMP),)
24 -include $(LINUX_DIR)/.config
25 NF_KMOD:=1
26 include $(INCLUDE_DIR)/netfilter.mk
27 endif
28
29 define Build/Prepare
30 mkdir -p $(PKG_BUILD_DIR)
31 endef
32
33 define Build/Configure
34 endef
35
36 define Build/Compile
37 endef
38
39 CONFIG_PACKAGE_kernel=y
40 define Package/kernel
41 SECTION:=sys
42 CATEGORY:=Kernel
43 DEFAULT:=y
44 TITLE:=Virtual kernel package
45 DESCRIPTION:=Virtual kernel package
46 VERSION:=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
47 endef
48
49 define Package/kernel/install
50 # nothing to do
51 endef
52
53 # this is more robust than ifdef around eval/call
54 ifneq ($(DUMP),1)
55 define BuildKernel
56 $(call BuildPackage,kernel)
57 endef
58 endif
59 $(eval $(call BuildKernel))
60
61 include $(TOPDIR)/target/linux/*/modules.mk
62 include ./modules/*.mk
This page took 0.042671 seconds and 5 git commands to generate.