build: BSD compile fixes
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 Mar 2013 17:32:29 +0000 (17:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 7 Mar 2013 17:32:29 +0000 (17:32 +0000)
commit5e6a25661d22046251c239e39168a7a77790d741
treee8523fabf4000faec51681f5e2c90940f9382291
parent4d2e8ba3bc9df752d8f64ce854eb154a2694762b
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
17 files changed:
README
include/host-build.mk
include/host.mk
include/prereq-build.mk
package/mac80211/patches/004-use_env_for_bash.patch [new file with mode: 0644]
scripts/freebsd.sh [new file with mode: 0644]
scripts/openbsd.sh [new file with mode: 0644]
tools/Makefile
tools/e2fsprogs/patches/003-openbsd-compat.patch [new file with mode: 0644]
tools/e2fsprogs/patches/004-freebsd-compat.patch [new file with mode: 0644]
tools/include/endian.h
tools/include/getline.h
tools/mkimage/patches/020-openbsd_fixes.patch [new file with mode: 0644]
tools/patch/Makefile [new file with mode: 0644]
tools/quilt/Makefile
tools/squashfs4/patches/180-openbsd_compat.patch [new file with mode: 0644]
tools/yaffs2/patches/110-openbsd-compat.patch [new file with mode: 0644]