Browse Source

tiff: use CONFIGURE_ARGS

Simplify the Makefile. No functional change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
lilik-openwrt-22.03
Sebastian Kemper 7 years ago
parent
commit
4ade6e6f7a
1 changed files with 15 additions and 21 deletions
  1. +15
    -21
      libs/tiff/Makefile

+ 15
- 21
libs/tiff/Makefile View File

@ -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}


Loading…
Cancel
Save