build: BSD compile fixes
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Mar 2013 17:32:29 +0000 (17:32 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Mar 2013 17:32:29 +0000 (17:32 +0000)
commit985d666e366bb9ef159439265f77a2ad04e08f0f
treee8523fabf4000faec51681f5e2c90940f9382291
parent61af2bc164740938e398eeb320927db0ce7934e5
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
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]