mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/mtd: fix zlib build
Commitbb19ffeaabforgot to move host-pkgconf dependency from BR2_PACKAGE_MTD_JFFS_UTILS condition to the new BR2_PACKAGE_ZLIB condition resulting in the following build failure: hecking for ZLIB... no configure: error: cannot find zlib Fixes:bb19ffeaab- http://autobuild.buildroot.org/results/7cbeead738af6302d5f0048a443e3b57d6776bb2 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
1395330fe6
commit
ef420e2016
@@ -28,7 +28,7 @@ MTD_CONF_OPTS += --without-lzo
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
MTD_DEPENDENCIES += zlib
|
MTD_DEPENDENCIES += host-pkgconf zlib
|
||||||
MTD_CONF_OPTS += --with-zlib
|
MTD_CONF_OPTS += --with-zlib
|
||||||
else
|
else
|
||||||
MTD_CONF_OPTS += --without-zlib
|
MTD_CONF_OPTS += --without-zlib
|
||||||
@@ -37,7 +37,6 @@ endif
|
|||||||
MTD_CONF_ENV += LDFLAGS="$(MTD_LDFLAGS)"
|
MTD_CONF_ENV += LDFLAGS="$(MTD_LDFLAGS)"
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MTD_JFFS_UTILS),y)
|
ifeq ($(BR2_PACKAGE_MTD_JFFS_UTILS),y)
|
||||||
MTD_DEPENDENCIES += host-pkgconf
|
|
||||||
MTD_CONF_OPTS += --with-jffs
|
MTD_CONF_OPTS += --with-jffs
|
||||||
else
|
else
|
||||||
MTD_CONF_OPTS += --without-jffs
|
MTD_CONF_OPTS += --without-jffs
|
||||||
|
|||||||
Reference in New Issue
Block a user