source: trunk/package/siit/Makefile @ 20026

Last change on this file since 20026 was 20026, checked in by nico, 7 years ago

[package] siit: oops, 'make M=... modules' is 2.6 only, use SUBDIRS=... instead

File size: 898 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
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=siit
12PKG_VERSION:=1.1
13
14include $(INCLUDE_DIR)/package.mk
15
16define KernelPackage/siit
17  SUBMENU:=Network Devices
18  TITLE:=Stateless IP ICMP Translation Algorithm
19  DEPENDS:= @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
20  FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX)
21  AUTOLOAD:=$(call AutoLoad,50,siit)
22endef
23
24include $(INCLUDE_DIR)/kernel-defaults.mk
25
26define KernelPackage/siit/description
27 Stateless IP ICMP Translation Algorithm
28endef
29
30define Build/Prepare
31        mkdir -p $(PKG_BUILD_DIR)
32        cp src/Makefile src/siit.h src/siit.c $(PKG_BUILD_DIR)/
33endef
34
35define Build/Compile
36        $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
37endef
38
39$(eval $(call KernelPackage,siit))
Note: See TracBrowser for help on using the repository browser.