source: trunk/package/siit/Makefile @ 13729

Last change on this file since 13729 was 13729, checked in by nbd, 7 years ago

add siit for stateless ip and icmp translation to ipv6

File size: 972 bytes
Line 
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# $Id: Makefile 10203 2008-01-15 03:25:11Z matteo $
8
9include $(TOPDIR)/rules.mk
10include $(INCLUDE_DIR)/kernel.mk
11
12PKG_NAME:=siit
13PKG_VERSION:=1.1
14
15include $(INCLUDE_DIR)/package.mk
16
17define KernelPackage/siit
18  SUBMENU:=Network Devices
19  TITLE:=Stateless IP ICMP Translation Algorithm
20  FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX)
21  AUTOLOAD:=$(call AutoLoad,50,siit)
22endef
23
24define KernelPackage/siit/description
25 Stateless IP ICMP Translation Algorithm
26endef
27
28define Build/Prepare
29        mkdir -p $(PKG_BUILD_DIR)
30        cp src/Makefile src/siit.h src/siit.c $(PKG_BUILD_DIR)/
31endef
32
33define Build/Compile
34        $(MAKE) -C $(LINUX_DIR) \
35                CROSS_COMPILE="$(TARGET_CROSS)" \
36                ARCH="$(LINUX_KARCH)" \
37                SUBDIRS="$(PKG_BUILD_DIR)" \
38                KERNELDIR=$(LINUX_DIR) \
39                CC="$(TARGET_CC)" \
40                modules
41endef
42
43$(eval $(call KernelPackage,siit))
Note: See TracBrowser for help on using the repository browser.