--- u-boot-2015.07.orig/tools/Makefile 2015-07-14 19:32:21.000000000 +0200 +++ u-boot-2015.07/tools/Makefile 2015-07-30 09:57:50.209525093 +0200 @@ -122,8 +122,7 @@ endif # MXSImage needs LibSSL ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),) -HOSTLOADLIBES_mkimage += \ - $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") +HOSTLOADLIBES_mkimage += -lssl -lcrypto -ldl endif HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)