2 # Copyright (C) 2006-2017 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
14 PKG_LICENSE
:=GPL-2.0
-or-later
16 include $(INCLUDE_DIR
)/package.mk
18 define KernelPackage
/siit
19 SUBMENU
:=Network Devices
20 TITLE
:=Stateless IP ICMP Translation Algorithm
21 DEPENDS
:= @
(!(TARGET_ps3||TARGET_pxcab
))
22 FILES
:=$(PKG_BUILD_DIR
)/siit.ko
23 AUTOLOAD
:=$(call AutoLoad
,50,siit
)
24 MAINTAINER
:=Vladimir Ulrich
<admin@evl.su
>
27 include $(INCLUDE_DIR
)/kernel-defaults.mk
29 define KernelPackage
/siit
/description
30 Stateless IP ICMP Translation Algorithm
34 mkdir
-p
$(PKG_BUILD_DIR
)
35 cp src
/Makefile src
/siit.h src
/siit.c
$(PKG_BUILD_DIR
)/
39 $(MAKE
) $(KERNEL_MAKEOPTS
) M
="$(PKG_BUILD_DIR)" modules
42 $(eval
$(call KernelPackage
,siit
))