[package] make zaptel-1.4.x compile again with brcm-2.4

git-svn-id: svn://svn.openwrt.org/openwrt/packages@14425 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-02-06 16:41:03 +00:00
parent c57df43bdd
commit 4ab3a8d0a6

View File

@ -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