diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-03-05 00:56:05 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-03-05 00:56:05 +0000 |
commit | 9128162fd8af998907efcdeb7c484df4ab01470b (patch) | |
tree | 5c06e647d716e12c1ca5e0ac7072197446e12c93 /package/compcache | |
parent | 71886caf3f6d961273efa7eb2c89b79b81c8c962 (diff) | |
download | upstream-9128162fd8af998907efcdeb7c484df4ab01470b.tar.gz upstream-9128162fd8af998907efcdeb7c484df4ab01470b.tar.bz2 upstream-9128162fd8af998907efcdeb7c484df4ab01470b.zip |
include kernel-defaults.mk and use $(KERNEL_MAKEOPTS)
SVN-Revision: 19981
Diffstat (limited to 'package/compcache')
-rw-r--r-- | package/compcache/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/package/compcache/Makefile b/package/compcache/Makefile index 8ca581b3d1..98a1cadf52 100644 --- a/package/compcache/Makefile +++ b/package/compcache/Makefile @@ -29,6 +29,8 @@ define KernelPackage/compcache $(PKG_BUILD_DIR)/sub-projects/allocators/xvmalloc-kmod/xvmalloc.$(LINUX_KMOD_SUFFIX) endef +include $(INCLUDE_DIR)/kernel-defaults.mk + XVM = sub-projects/allocators/xvmalloc-kmod LZO = sub-projects/compression/lzo-kmod @@ -38,13 +40,7 @@ BUILDFLAGS:=-DCONFIG_BLK_DEV_RAMZSWAP_STATS \ -g -Wall define Build/Compile - $(MAKE) -C "$(LINUX_DIR)" \ - CROSS_COMPILE="$(KERNEL_CROSS)" \ - CC="$(KERNEL_CC)" \ - ARCH="$(LINUX_KARCH)" \ - SUBDIRS="$(PKG_BUILD_DIR)" \ - EXTRA_CFLAGS="$(BUILDFLAGS)" \ - modules + $(MAKE) $(KERNEL_MAKEOPTS) EXTRA_CFLAGS="$(BUILDFLAGS)" M="$(PKG_BUILD_DIR)" modules endef define KernelPackage/compcache/install |