2006-07-18 19:17:19 +03:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=kernel
|
|
|
|
PKG_VERSION:=$(LINUX_VERSION)-$(BOARD)
|
2006-08-27 16:08:53 +03:00
|
|
|
PKG_RELEASE:=$(LINUX_RELEASE)
|
2006-07-18 19:17:19 +03:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
ifeq ($(DUMP),)
|
2006-09-24 23:49:31 +03:00
|
|
|
-include $(LINUX_DIR)/.config
|
|
|
|
NF_KMOD:=1
|
|
|
|
include $(INCLUDE_DIR)/netfilter.mk
|
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-17 16:28:44 +03:00
|
|
|
include $(TOPDIR)/target/linux/*/modules.mk
|
2006-10-17 16:18:01 +03:00
|
|
|
include ./modules/*.mk
|