aboutsummaryrefslogtreecommitdiffstats
path: root/package/siit
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-03-07 03:44:48 +0000
committerNicolas Thill <nico@openwrt.org>2010-03-07 03:44:48 +0000
commit8b68b8784a6794725ecf5d57085740e5e7e92db0 (patch)
tree682da0434c7a90b54328612ddc7c7ff15893b5ba /package/siit
parentad3488499bc3054f1123ed4561d67303a8093d5d (diff)
downloadupstream-8b68b8784a6794725ecf5d57085740e5e7e92db0.tar.gz
upstream-8b68b8784a6794725ecf5d57085740e5e7e92db0.tar.bz2
upstream-8b68b8784a6794725ecf5d57085740e5e7e92db0.zip
[package] siit: use $(KERNEL_MAKEOPTS)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20025 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/siit')
-rw-r--r--package/siit/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/package/siit/Makefile b/package/siit/Makefile
index 1eaaac356a..fc67d0d3c0 100644
--- a/package/siit/Makefile
+++ b/package/siit/Makefile
@@ -21,6 +21,8 @@ define KernelPackage/siit
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) M=$(PKG_BUILD_DIR) modules
endef
$(eval $(call KernelPackage,siit))