dahdi-linux: clean up make flags
Remove all flags/variables that are not used at all. Remove some ':' that are not needed in the context. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
9a034c9775
commit
b4392fbc2e
1 changed files with 4 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 OpenWrt.org
|
# Copyright (C) 2014 - 2018 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=dahdi-linux
|
PKG_NAME:=dahdi-linux
|
||||||
PKG_VERSION:=2.11.1-20180111
|
PKG_VERSION:=2.11.1-20180111
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
#PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-linux/releases
|
#PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-linux/releases
|
||||||
|
@ -88,8 +88,6 @@ endef
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(Build/Prepare/Default)
|
$(Build/Prepare/Default)
|
||||||
mkdir -p $(PKG_BUILD_DIR)/drivers/staging/echo/
|
mkdir -p $(PKG_BUILD_DIR)/drivers/staging/echo/
|
||||||
|
@ -101,15 +99,8 @@ define Build/Compile
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
KERNELVERSION="$(KERNEL)" \
|
KSRC="$(LINUX_DIR)" \
|
||||||
KERNEL_VERSION="$(LINUX_VERSION)" \
|
MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)"
|
||||||
KERNELDIR="$(LINUX_DIR)" \
|
|
||||||
KSRC:="$(LINUX_DIR)" \
|
|
||||||
KVERS:="$(LINUX_VERSION)" \
|
|
||||||
TOPDIR:="$(TOPDIR)" \
|
|
||||||
INCLUDE_DIR:="$(INCLUDE_DIR)" \
|
|
||||||
PWD:="$(PKG_BUILD_DIR)" \
|
|
||||||
MODULES_EXTRA:="$(DAHDI_MODULES_EXTRA)"
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
|
Loading…
Reference in a new issue