tiff: use CONFIGURE_ARGS

Simplify the Makefile. No functional change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-02-25 20:03:39 +01:00
parent b0c9cc9b19
commit 4ade6e6f7a

View file

@ -58,12 +58,8 @@ $(call Package/tiff/Default)
DEPENDS:=+libtiff
endef
define Build/Configure
$(call Build/Configure/Default, \
$(if $(CONFIG_PACKAGE_libtiffxx), \
--enable-cxx, \
--disable-cxx \
) \
CONFIGURE_ARGS += \
$(if $(CONFIG_PACKAGE_libtiffxx),--enable-cxx,--disable-cxx) \
--disable-lzma \
--enable-ccitt \
--enable-packbits \
@ -76,9 +72,7 @@ define Build/Configure
--enable-jpeg \
--disable-old-jpeg \
--disable-jbig \
--without-x \
)
endef
--without-x
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/{lib,include}