From: Florian Fainelli Date: Fri, 6 Feb 2009 16:41:03 +0000 (+0000) Subject: [package] make zaptel-1.4.x compile again with brcm-2.4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b2f278e0e7d47cc2b139615f80653d39315044c;p=openwrt%2Fsvn-archive%2Farchive.git [package] make zaptel-1.4.x compile again with brcm-2.4 SVN-Revision: 14425 --- diff --git a/libs/zaptel-1.4.x/Makefile b/libs/zaptel-1.4.x/Makefile index 2e502431f0..bd920e0e53 100644 --- a/libs/zaptel-1.4.x/Makefile +++ b/libs/zaptel-1.4.x/Makefile @@ -61,14 +61,19 @@ define Package/zaptel14-libtonezone/description This package contains the libraries for accessing zaptel/dummy drivers. endef +MAKE_FLAGS:= \ + ARCH="$(LINUX_KARCH)" \ + CC="$(TARGET_CC) $(TARGET_CFLAGS)" \ + LD="$(TARGET_CROSS)ld" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + KVERS="$(LINUX_VERSION)" \ + KSRC="$(LINUX_DIR)" \ + TOPDIR_MODULES="zaptel ztdummy" \ + SUBDIR_MODULES="" + define Build/Compile/kmod $(MAKE) -C $(PKG_BUILD_DIR) \ - ARCH="$(LINUX_KARCH)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - KVERS="$(LINUX_VERSION)" \ - KSRC="$(LINUX_DIR)" \ - TOPDIR_MODULES="zaptel ztdummy" \ - SUBDIR_MODULES="" \ + $(MAKE_FLAGS) \ modules endef