From b4392fbc2e12b30bd6c53dd5dcdf81634eea0e08 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 24 Feb 2018 10:10:16 +0100 Subject: [PATCH] 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 --- libs/dahdi-linux/Makefile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/libs/dahdi-linux/Makefile b/libs/dahdi-linux/Makefile index 17d7978..80d3be9 100644 --- a/libs/dahdi-linux/Makefile +++ b/libs/dahdi-linux/Makefile @@ -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. # See /LICENSE for more information. @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=dahdi-linux PKG_VERSION:=2.11.1-20180111 -PKG_RELEASE:=1 +PKG_RELEASE:=2 #PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz #PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-linux/releases @@ -88,8 +88,6 @@ endef define Build/Configure endef -TARGET_CFLAGS += $(FPIC) - define Build/Prepare $(Build/Prepare/Default) mkdir -p $(PKG_BUILD_DIR)/drivers/staging/echo/ @@ -101,15 +99,8 @@ define Build/Compile ARCH="$(LINUX_KARCH)" \ $(TARGET_CONFIGURE_OPTS) \ CROSS_COMPILE="$(TARGET_CROSS)" \ - KERNELVERSION="$(KERNEL)" \ - KERNEL_VERSION="$(LINUX_VERSION)" \ - KERNELDIR="$(LINUX_DIR)" \ - KSRC:="$(LINUX_DIR)" \ - KVERS:="$(LINUX_VERSION)" \ - TOPDIR:="$(TOPDIR)" \ - INCLUDE_DIR:="$(INCLUDE_DIR)" \ - PWD:="$(PKG_BUILD_DIR)" \ - MODULES_EXTRA:="$(DAHDI_MODULES_EXTRA)" + KSRC="$(LINUX_DIR)" \ + MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)" endef define Build/InstallDev