|
@@ -21,7 +21,8 @@ endif
|
|
|
ifeq ($(BR2_PACKAGE_MTD_UBIFS_UTILS),y)
|
|
|
MTD_DEPENDENCIES += util-linux zlib lzo host-pkgconf
|
|
|
MTD_CONF_OPTS += --with-ubifs
|
|
|
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
+# crypto needs linux/hash_info.h
|
|
|
+ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12)$(BR2_PACKAGE_OPENSSL),yy)
|
|
|
MTD_DEPENDENCIES += openssl
|
|
|
MTD_CONF_OPTS += --with-crypto
|
|
|
else
|