[tools] firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption...
[openwrt.git] / package / siit / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=siit
12 PKG_VERSION:=1.1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define KernelPackage/siit
17 SUBMENU:=Network Devices
18 TITLE:=Stateless IP ICMP Translation Algorithm
19 FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX)
20 AUTOLOAD:=$(call AutoLoad,50,siit)
21 endef
22
23 define KernelPackage/siit/description
24 Stateless IP ICMP Translation Algorithm
25 endef
26
27 define Build/Prepare
28 mkdir -p $(PKG_BUILD_DIR)
29 cp src/Makefile src/siit.h src/siit.c $(PKG_BUILD_DIR)/
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(LINUX_DIR) \
34 CROSS_COMPILE="$(TARGET_CROSS)" \
35 ARCH="$(LINUX_KARCH)" \
36 SUBDIRS="$(PKG_BUILD_DIR)" \
37 KERNELDIR=$(LINUX_DIR) \
38 CC="$(TARGET_CC)" \
39 modules
40 endef
41
42 $(eval $(call KernelPackage,siit))
This page took 0.047084 seconds and 5 git commands to generate.