From 0e6ea65559d094db5dcf1a4018a8c09e548f1b73 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 7 Mar 2010 03:44:48 +0000 Subject: [package] siit: use $(KERNEL_MAKEOPTS) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20025 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/siit/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'package/siit') 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)) -- cgit v1.2.3