2008-12-22 23:33:10 +00:00
|
|
|
#
|
2010-05-23 14:09:25 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2008-12-22 23:33:10 +00: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 21:55:40 +00:00
|
|
|
PKG_RELEASE:=2
|
2008-12-22 23:33:10 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define KernelPackage/siit
|
|
|
|
SUBMENU:=Network Devices
|
|
|
|
TITLE:=Stateless IP ICMP Translation Algorithm
|
2010-03-07 03:41:57 +00:00
|
|
|
DEPENDS:= @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(PKG_BUILD_DIR)/siit.ko
|
2008-12-22 23:33:10 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,50,siit)
|
|
|
|
endef
|
|
|
|
|
2010-03-07 03:44:48 +00:00
|
|
|
include $(INCLUDE_DIR)/kernel-defaults.mk
|
|
|
|
|
2008-12-22 23:33:10 +00: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 03:55:34 +00:00
|
|
|
$(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
|
2008-12-22 23:33:10 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,siit))
|