tiff: use CONFIGURE_ARGS
Simplify the Makefile. No functional change. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
b0c9cc9b19
commit
4ade6e6f7a
1 changed files with 15 additions and 21 deletions
|
@ -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…
Reference in a new issue