2 # Copyright (C) 2006 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 include $(INCLUDE_DIR
)/package.mk
16 define KernelPackage
/siit
17 SUBMENU
:=Network Devices
18 TITLE
:=Stateless IP ICMP Translation Algorithm
19 DEPENDS
:=@
!LINUX_2_6_31
20 FILES
:=$(PKG_BUILD_DIR
)/siit.
$(LINUX_KMOD_SUFFIX
)
21 AUTOLOAD
:=$(call AutoLoad
,50,siit
)
24 define KernelPackage
/siit
/description
25 Stateless IP ICMP Translation Algorithm
29 mkdir
-p
$(PKG_BUILD_DIR
)
30 cp src
/Makefile src
/siit.h src
/siit.c
$(PKG_BUILD_DIR
)/
34 $(MAKE
) -C
$(LINUX_DIR
) \
35 CROSS_COMPILE
="$(TARGET_CROSS)" \
36 ARCH
="$(LINUX_KARCH)" \
37 SUBDIRS
="$(PKG_BUILD_DIR)" \
38 KERNELDIR
=$(LINUX_DIR
) \
43 $(eval
$(call KernelPackage
,siit
))