crypto: The if statement for twofish did not work, deflate depends on zlib_deflate
[openwrt.git] / package / siit / Makefile
index b94840c..4cd147f 100644 (file)
@@ -1,5 +1,5 @@
 # 
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2010 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -10,17 +10,20 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=siit
 PKG_VERSION:=1.1
+PKG_RELEASE:=2
 
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/siit
   SUBMENU:=Network Devices
   TITLE:=Stateless IP ICMP Translation Algorithm
-  DEPENDS:=@!LINUX_2_6_31 @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
-  FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX)
+  DEPENDS:= @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
+  FILES:=$(PKG_BUILD_DIR)/siit.ko
   AUTOLOAD:=$(call AutoLoad,50,siit)
 endef
 
+include $(INCLUDE_DIR)/kernel-defaults.mk
+
 define KernelPackage/siit/description
  Stateless IP ICMP Translation Algorithm
 endef
@@ -31,13 +34,7 @@ define Build/Prepare
 endef
 
 define Build/Compile
-       $(MAKE) -C $(LINUX_DIR) \
-               CROSS_COMPILE="$(TARGET_CROSS)" \
-               ARCH="$(LINUX_KARCH)" \
-               SUBDIRS="$(PKG_BUILD_DIR)" \
-               KERNELDIR=$(LINUX_DIR) \
-               CC="$(TARGET_CC)" \
-               modules
+       $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
 endef
 
 $(eval $(call KernelPackage,siit))
This page took 0.021105 seconds and 4 git commands to generate.