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