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)
commit1f77bfff9608f97996bffdb28dabec4e787631f6
tree9e624ddb58dffe5cae5af0ea17b7bd51116e3418
parented083586aaf8468794c87d65324cfe7ee015f38c
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]