2008-12-23 01:33:10 +02:00
|
|
|
#
|
2010-05-23 17:09:25 +03:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2008-12-23 01:33:10 +02: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:=siit
|
|
|
|
PKG_VERSION:=1.1
|
2010-05-23 17:09:25 +03:00
|
|
|
PKG_RELEASE:=1
|
2008-12-23 01:33:10 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/siit
|
|
|
|
SUBMENU:=Network Devices
|
|
|
|
TITLE:=Stateless IP ICMP Translation Algorithm
|
2010-03-07 05:41:57 +02:00
|
|
|
DEPENDS:= @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
|
2008-12-23 01:33:10 +02:00
|
|
|
FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX)
|
|
|
|
AUTOLOAD:=$(call AutoLoad,50,siit)
|
|
|
|
endef
|
|
|
|
|
2010-03-07 05:44:48 +02:00
|
|
|
include $(INCLUDE_DIR)/kernel-defaults.mk
|
|
|
|
|
2008-12-23 01:33:10 +02:00
|
|
|
define KernelPackage/siit/description
|
|
|
|
Stateless IP ICMP Translation Algorithm
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
cp src/Makefile src/siit.h src/siit.c $(PKG_BUILD_DIR)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2010-03-07 05:55:34 +02:00
|
|
|
$(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
|
2008-12-23 01:33:10 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,siit))
|