diff options
| author | micmac1 | 2021-02-26 18:19:26 +0000 |
|---|---|---|
| committer | GitHub | 2021-02-26 18:19:26 +0000 |
| commit | a5d039394014139aac34af1e9460ab76e5779a65 (patch) | |
| tree | 25aa2838c19eb89f7ddb4460df0fd7decd44296b | |
| parent | 62328778d5e6fa377696f8b14cdc8776f972669e (diff) | |
| parent | 89a23c43407956f93f24bf07920363cedbf5b00c (diff) | |
| download | telephony-a5d039394014139aac34af1e9460ab76e5779a65.tar.gz | |
Merge pull request #615 from micmac1/dah-li-symvers
dahdi-linux: fix Module.symvers handling
| -rw-r--r-- | libs/dahdi-linux/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libs/dahdi-linux/Makefile b/libs/dahdi-linux/Makefile index 1a6be89..d8956da 100644 --- a/libs/dahdi-linux/Makefile +++ b/libs/dahdi-linux/Makefile @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=dahdi-linux PKG_VERSION:=3.1.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-linux/releases @@ -20,6 +20,10 @@ PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Vittorio Gambaletta <openwrt@vittgam.net> +# With below variable set, $(PKG_SYMVERS_DIR)/dahdi-linux.symvers gets +# generated from drivers/dahdi/Module.symvers. +PKG_EXTMOD_SUBDIRS:=drivers/dahdi + include $(INCLUDE_DIR)/package.mk define KernelPackage/dahdi @@ -86,10 +90,8 @@ define Build/Prepare endef define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - ARCH="$(LINUX_KARCH)" \ - $(TARGET_CONFIGURE_OPTS) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ + $(KERNEL_MAKE_FLAGS) \ KSRC="$(LINUX_DIR)" endef |