From 4ade6e6f7a52ad7cb10cd48a24a32a30af6d53a0 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 25 Feb 2018 20:03:39 +0100 Subject: [PATCH] tiff: use CONFIGURE_ARGS Simplify the Makefile. No functional change. Signed-off-by: Sebastian Kemper --- libs/tiff/Makefile | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/libs/tiff/Makefile b/libs/tiff/Makefile index bc3f07d5b8..54e6030914 100644 --- a/libs/tiff/Makefile +++ b/libs/tiff/Makefile @@ -58,27 +58,21 @@ $(call Package/tiff/Default) DEPENDS:=+libtiff endef -define Build/Configure - $(call Build/Configure/Default, \ - $(if $(CONFIG_PACKAGE_libtiffxx), \ - --enable-cxx, \ - --disable-cxx \ - ) \ - --disable-lzma \ - --enable-ccitt \ - --enable-packbits \ - --enable-lzw \ - --enable-thunder \ - --enable-next \ - --enable-logluv \ - --enable-mdi \ - --enable-zlib \ - --enable-jpeg \ - --disable-old-jpeg \ - --disable-jbig \ - --without-x \ - ) -endef +CONFIGURE_ARGS += \ + $(if $(CONFIG_PACKAGE_libtiffxx),--enable-cxx,--disable-cxx) \ + --disable-lzma \ + --enable-ccitt \ + --enable-packbits \ + --enable-lzw \ + --enable-thunder \ + --enable-next \ + --enable-logluv \ + --enable-mdi \ + --enable-zlib \ + --enable-jpeg \ + --disable-old-jpeg \ + --disable-jbig \ + --without-x define Build/InstallDev $(INSTALL_DIR) $(1)/usr/{lib,include} -- 2.30.2