build: BSD compile fixes
following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> SVN-Revision: 35900
This commit is contained in:
@@ -62,6 +62,9 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
|
||||
PATCH=`which gpatch 2>/dev/null`; \
|
||||
[ -n "$$PATCH" -a -x "$$PATCH" ] || PATCH=`which patch 2>/dev/null`; \
|
||||
echo "PATCH:=$$PATCH" >> $@; \
|
||||
PYTHON=`which python2.7 2>/dev/null`; \
|
||||
[ -n "$$PYTHON" -a -x "$$PYTHON" ] || PYTHON=`which python 2>/dev/null`; \
|
||||
echo "PYTHON:=$$PYTHON" >> $@; \
|
||||
)
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user