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,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}
|
||||||
|
|
Loading…
Reference in a new issue