From 7aa4e7a40392a3295abfa1a89b85d6d76c9b37ba Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 6 Feb 2009 16:41:03 +0000 Subject: [PATCH] make zaptel-1.4.x compile again with brcm-2.4 --- libs/zaptel-1.4.x/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/libs/zaptel-1.4.x/Makefile b/libs/zaptel-1.4.x/Makefile index 2e50243..bd920e0 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 -- 2.30.2