Commit Graph

60 Commits (9d5510a500a1804484152adb8951dda3688658bc)

Author SHA1 Message Date
Felix Fietkau 1f77bfff96 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
11 years ago
Felix Fietkau 6d1884c583 build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir
SVN-Revision: 33776
12 years ago
Felix Fietkau ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
12 years ago
Felix Fietkau 1c108d3318 host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
SVN-Revision: 33509
12 years ago
Felix Fietkau b086475e1e build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
SVN-Revision: 33445
12 years ago
Felix Fietkau f19dbfff91 build: add jobserver support for host builds
SVN-Revision: 33423
12 years ago
Jo-Philipp Wich 8726a422cd do not pass optimization flags in HOST_CPPFLAGS (#12153)
SVN-Revision: 33351
12 years ago
Jo-Philipp Wich 29b91ef01a introduce a menuconfig option to turn off static linking of host utilities
SVN-Revision: 33154
12 years ago
Jo-Philipp Wich 94a96244f6 host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
SVN-Revision: 33138
12 years ago
Felix Fietkau b50cfbb179 build: add PKG_MIRROR_MD5SUM support for host builds
SVN-Revision: 32082
12 years ago
John Crispin ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
13 years ago
Felix Fietkau d288f855e3 add a missing wrapper for the refresh target for host builds
SVN-Revision: 25193
14 years ago
Jo-Philipp Wich dbf8d9c516 - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk
SVN-Revision: 24551
14 years ago
Felix Fietkau 380ea005e1 use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)
SVN-Revision: 24103
14 years ago
Michael Büsch 050902efd7 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
SVN-Revision: 23825
14 years ago
Michael Büsch dc7a68165d Fix typo
SVN-Revision: 23482
14 years ago
Michael Büsch d4807cf557 Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
SVN-Revision: 23480
14 years ago
Michael Büsch fde498904f Add an option to default the default build rule to parallel build.
SVN-Revision: 22737
14 years ago
Michael Büsch f4daa84832 Also support parallel build for host-packages
SVN-Revision: 22698
14 years ago
Travis Kemen cf7199f48b this patch fixes toolchain parallel build, which reduces build time.
In order to enable parallel build, change line 21 of
include/host-build.mk from:

override MAKEFLAGS=

to:

override MAKEFLAGS=$(MAKE_JOBS)

-Raphael

SVN-Revision: 19995
14 years ago
Lars-Peter Clausen 144fd07cd8 Prevent unnecessary host package rebuilds.
Sometimes `make install` touches a file inside the build directory, so it is
betterr to create the build stamp after calling `make install` otherwise the
package is going to be rebuild even though nothing really changed.

SVN-Revision: 19021
15 years ago
Andy Boyett 1141aecd2a use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
SVN-Revision: 18232
15 years ago
Felix Fietkau 7de1e0f116 host build: do not hide the configure command
SVN-Revision: 17716
15 years ago
Felix Fietkau e3fc6c9b88 fix a typo that prevented host build specific variable exports from working
SVN-Revision: 15512
15 years ago
Nicolas Thill f0a3d4d501 add missing bits from [15451]
SVN-Revision: 15453
15 years ago
Felix Fietkau 63129f9b4c clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
SVN-Revision: 15339
15 years ago
Felix Fietkau 729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds
SVN-Revision: 15299
15 years ago
Felix Fietkau 35073025b4 add a default template for Host/Install
SVN-Revision: 15110
15 years ago
Felix Fietkau 0a81b47617 fix calling the update target for host-only builds
SVN-Revision: 14997
15 years ago
Felix Fietkau 9b96b24e32 fix quilt variable and stampfile usage for host builds
SVN-Revision: 14910
15 years ago
Felix Fietkau 7ec4ad271e add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
15 years ago
Felix Fietkau ddcfaeb1e5 move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
SVN-Revision: 14905
15 years ago
Felix Fietkau b29f9112df make the compile: host-install dependency independent of the order in which the makefiles were included
SVN-Revision: 14853
15 years ago
Felix Fietkau 252c2229f8 enable Host/Install on compile: if package.mk is included
SVN-Revision: 14852
15 years ago
Andy Boyett 4911754522 readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699
SVN-Revision: 14724
15 years ago
Felix Fietkau 333fc3f7e1 adjust host-build.mk to bring it closer to package.mk
SVN-Revision: 14699
15 years ago
Felix Fietkau aa0778f77e allow concurrent use of host-build.mk and package.mk as well as their templates
SVN-Revision: 14621
15 years ago
Felix Fietkau bc6fcb0067 eliminate redundancy by creating the quilt_used stampfile in the right place
SVN-Revision: 14620
15 years ago
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
15 years ago
Nicolas Thill 6b392a4f9f allow cvs/git/hg/svn wrap_mirror to work for host tools as well
SVN-Revision: 13313
16 years ago
Felix Fietkau e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
17 years ago
Felix Fietkau d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
17 years ago
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
17 years ago
Felix Fietkau e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
17 years ago
Felix Fietkau 5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
17 years ago
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
17 years ago
Felix Fietkau 23f0017829 fix a rebuild bug related to quilt
SVN-Revision: 8255
17 years ago
Felix Fietkau 7b6d8470c6 same for host builds
SVN-Revision: 8246
17 years ago
Felix Fietkau d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
17 years ago
Imre Kaloz 6fb68cb589 use newer config.guess and config.sub for packages then the shipped ones
SVN-Revision: 7532
17 years ago