aboutsummaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: BSD compile fixesFelix Fietkau2013-03-071-1/+1
| | | | | | | | | | | | | | | | 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
* build: fix host build stampfile usage, fixes spurious errors with missing ↵Felix Fietkau2012-10-151-24/+13
| | | | | | opkg host binary after deleting the staging dir git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-2/+2
| | | | | | fixes parallel build on some systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGSFelix Fietkau2012-09-221-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: ensure that package/host-build build system code does not run in ↵Felix Fietkau2012-09-171-0/+2
| | | | | | parallel, fixes rare spurious parallel build failures git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add jobserver support for host buildsFelix Fietkau2012-09-151-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)Jo-Philipp Wich2012-09-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] introduce a menuconfig option to turn off static linking of host ↵Jo-Philipp Wich2012-08-131-1/+3
| | | | | | utilities git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] host-build.mk: define a variable HOST_STATIC_LINKING which is set ↵Jo-Philipp Wich2012-08-121-0/+4
| | | | | | to "-static" on non-Darwin systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add PKG_MIRROR_MD5SUM support for host buildsFelix Fietkau2012-06-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a missing wrapper for the refresh target for host buildsFelix Fietkau2011-01-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] Jo-Philipp Wich2010-12-131-1/+11
| | | | | | | | | - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)Felix Fietkau2010-11-221-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* deptest: Install of host tools has to be forced for every test, because the ↵Michael Büsch2010-11-031-2/+2
| | | | | | host staging dir is cleaned prior a test. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix typoMichael Büsch2010-10-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support force-disabling per-package parallel build with ↵Michael Büsch2010-10-161-1/+7
| | | | | | {PKG,HOST}_BUILD_PARALLEL:=0 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add an option to default the default build rule to parallel build.Michael Büsch2010-08-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Also support parallel build for host-packagesMichael Büsch2010-08-181-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* this patch fixes toolchain parallel build, which reduces build time.Travis Kemen2010-03-051-2/+2
| | | | | | | | | | | | | | | In order to enable parallel build, change line 21 of include/host-build.mk from: override MAKEFLAGS= to: override MAKEFLAGS=$(MAKE_JOBS) -Raphael git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Prevent unnecessary host package rebuilds.Lars-Peter Clausen2010-01-031-11/+14
| | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel GimpelevichAndy Boyett2009-10-301-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* host build: do not hide the configure commandFelix Fietkau2009-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typo that prevented host build specific variable exports from workingFelix Fietkau2009-04-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing bits from [15451]Nicolas Thill2009-04-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up automake/pkg-config handling, move separate host/package variable ↵Felix Fietkau2009-04-221-2/+10
| | | | | | exports to templates, fix automake path for host builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move pkg config stuff to per-target exports to prevent interference with ↵Felix Fietkau2009-04-201-0/+2
| | | | | | host builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a default template for Host/InstallFelix Fietkau2009-04-061-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix calling the update target for host-only buildsFelix Fietkau2009-03-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix quilt variable and stampfile usage for host buildsFelix Fietkau2009-03-171-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add PKG_HOST_ONLY variable to prevent target buildsFelix Fietkau2009-03-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move host build in packages into a separate namespace: ↵Felix Fietkau2009-03-171-5/+11
| | | | | | | | package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make the compile: host-install dependency independent of the order in which ↵Felix Fietkau2009-03-121-2/+3
| | | | | | the makefiles were included git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable Host/Install on compile: if package.mk is includedFelix Fietkau2009-03-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699Andy Boyett2009-03-021-5/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adjust host-build.mk to bring it closer to package.mkFelix Fietkau2009-02-281-19/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow concurrent use of host-build.mk and package.mk as well as their templatesFelix Fietkau2009-02-221-15/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* eliminate redundancy by creating the quilt_used stampfile in the right placeFelix Fietkau2009-02-221-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-48/+48
| | | | | | host-build steps git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow cvs/git/hg/svn wrap_mirror to work for host tools as wellNicolas Thill2008-11-221-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes for refresh/update handlingFelix Fietkau2007-09-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move a stampfile to make it easier to override the patch templateFelix Fietkau2007-09-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Refactor downloading code into download.mkFelix Fietkau2007-09-291-14/+11
| | | | | | | | Support multiple file downloads Support svn downloads git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix spontaneous rebuilds caused by make package/<name>/update with quiltFelix Fietkau2007-09-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up recursive dependency handling, use timestamp.pl again, because it ↵Felix Fietkau2007-08-301-3/+2
| | | | | | saves memory and execution time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-18/+18
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a rebuild bug related to quiltFelix Fietkau2007-07-301-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* same for host buildsFelix Fietkau2007-07-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* next round of cleanup, convert target/ - make -j works now ;)Felix Fietkau2007-07-301-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use newer config.guess and config.sub for packages then the shipped onesImre Kaloz2007-06-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7532 3c298f89-4303-0410-b956-a3cf2f4a3e73