summaryrefslogtreecommitdiff
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
commit5462fe79580eaca3aa66be13bb06cf4d5b3cea59 (patch)
tree23d3746d40e6f759b24207e49d19f2bc130c6120
parent3b774fe6542107bd5af2a9cb406474ee818a39ae (diff)
downloadmtk-20170518-5462fe79580eaca3aa66be13bb06cf4d5b3cea59.zip
mtk-20170518-5462fe79580eaca3aa66be13bb06cf4d5b3cea59.tar.gz
mtk-20170518-5462fe79580eaca3aa66be13bb06cf4d5b3cea59.tar.bz2
siit: use $(KERNEL_MAKEOPTS)
SVN-Revision: 20025
-rw-r--r--package/siit/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/package/siit/Makefile b/package/siit/Makefile
index 1eaaac3..fc67d0d 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))