fix jffs2 and mini_fo mount in failsafe (patch from #7134)
[openwrt.git] / package / siit / Makefile
index 5d71ebd..e63087f 100644 (file)
@@ -16,11 +16,13 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/siit
   SUBMENU:=Network Devices
   TITLE:=Stateless IP ICMP Translation Algorithm
-  DEPENDS:=@!LINUX_2_6_31 @(!(TARGET_pxcab)||BROKEN)
+  DEPENDS:= @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
   FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,siit)
 endef
 
+include $(INCLUDE_DIR)/kernel-defaults.mk
+
 define KernelPackage/siit/description
  Stateless IP ICMP Translation Algorithm
 endef
@@ -31,13 +33,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.021668 seconds and 4 git commands to generate.