From f7fb6e49f214e8a38698bab4d33551addbc04439 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 May 2016 23:47:09 +0200 Subject: build: allow to build LEDE on latest MacOS X Latest Xcode doesn't include openssl anymore. To compile mkimage from u-boot source you need SSL headers on your host. This patch provides libressl host package for any Darwin compilation. Unfortunately openssl from MacPorts can not be used, as the installed headers in /opt/local are breaking GDB compilation. Tested with a RB532 image build and resulting kernel booted on a device via TFTP. Signed-off-by: Waldemar Brodkorb Signed-off-by: Felix Fietkau [fixes, dependencies] --- tools/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index 187655e7fd..690e13c0ae 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -77,6 +77,11 @@ $(curdir)/bc/compile := $(curdir)/bison/install $(curdir)/findutils/compile := $(curdir)/bison/install $(curdir)/gengetopt/compile := $(curdir)/libtool/install $(curdir)/patchelf/compile := $(curdir)/libtool/install +ifeq ($(HOST_OS),Darwin) +tools-y += libressl +$(curdir)/mkimage/compile += $(curdir)/libressl/install +$(curdir)/firmware-utils/compile += $(curdir)/libressl/install +endif ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),) $(foreach tool, $(filter-out patch,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install)) -- cgit v1.2.3