build: allow to build LEDE on latest MacOS X
authorWaldemar Brodkorb <wbx@openadk.org>
Wed, 25 May 2016 21:47:09 +0000 (23:47 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 7 Jun 2016 06:58:41 +0000 (08:58 +0200)
commitf7fb6e49f214e8a38698bab4d33551addbc04439
treeb4467100750ac582fc27a0e2ed86a9c498257a5d
parent4c5a49031eb690f1f311c9e8d4c68c541fadf5ae
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 <wbx@openadk.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes, dependencies]
include/prereq-build.mk
tools/Makefile
tools/libressl/Makefile [new file with mode: 0644]