Jo-Philipp Wich
7ffcf90d37
include: export staging_dir/host/bin path from within host.mk ( #18957 )
...
We need to do that to pickup the prereq-build prepared symlinks for auxillary
operations like metadata scanning.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 15:49:17 +00:00
Jo-Philipp Wich
8a73b06ead
include: remove host command tests from host.mk
...
Those tests are part of prereq-build.mk now.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:31 +00:00
Felix Fietkau
920880de04
build: move the XARGS variable out of the host checks, since a working xargs is built in tools/
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-10 15:11:29 +00:00
Felix Fietkau
cf3d83fe4a
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
2013-03-07 17:32:29 +00:00
Jo-Philipp Wich
bbcec77333
[include] host.mk: introduce PATCH which refers to either gpatch or patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:33:12 +00:00
Michael Büsch
ac52578132
host.mk: Don't use bash-ism
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 21:22:54 +00:00
Felix Fietkau
607146b4f2
fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
Nicolas Thill
4ec517b27c
buildsystem: add a macro to test options supported by the host compiler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 17:22:01 +00:00
Felix Fietkau
3e9d1d75c1
build prereq: look for tar under the name "gnutar" as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 10:40:04 +00:00
Felix Fietkau
205ea84c9f
allow uml to access host.mk at DUMP time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 15:45:15 +00:00
Felix Fietkau
87fcd635fe
speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
Felix Fietkau
34a8a11664
export the FIND variable which points to a usable find version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 09:04:48 +00:00
Felix Fietkau
9b6ee11b1b
improve xargs compatibility check (mostly Darwin/Mac OS X related)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-01 21:38:28 +00:00
Felix Fietkau
a5c3c652f2
Abstracted find to $(FIND) to allow use of gfind on non-GNU systems.
...
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-05 18:45:20 +00:00
Felix Fietkau
7f5129c7d9
next round of build system cleanup - convert package/ to new structure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau
32788c07ce
fix verbose output with dash as /bin/sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 14:50:15 +00:00
Felix Fietkau
ac6c9d2be4
detect whether the find command supports -L or -follow
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 07:19:45 +00:00
Felix Fietkau
6232c138af
simplify handling of zcat - always use gzip -dc. zcat and gzcat are either broken or nonexistant on some systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 10:35:12 +00:00
Felix Fietkau
f460eb1cdb
fixes for a few build errors on osx without fink
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 01:30:48 +00:00
Felix Fietkau
6f2fe80b72
fix for including host.mk multiple times
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 21:17:57 +00:00
Mike Baker
1a9e1bf731
trivial changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 20:12:48 +00:00
Felix Fietkau
1b8b054bfc
fix another build error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 02:41:59 +00:00
Felix Fietkau
e97c3c74fb
speed up the build system a little bit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:49:35 +00:00
Felix Fietkau
19940017a3
make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 23:11:02 +00:00
Felix Fietkau
f061dc403c
remove some obsolete stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 13:53:26 +00:00
Felix Fietkau
75d681665a
move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 00:40:27 +00:00
Felix Fietkau
5ce5fa599e
fix tar detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-13 22:47:39 +00:00
Felix Fietkau
8a1b6b3098
more portability fixes and a prereq check for gnu tar
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 21:06:45 +00:00
Felix Fietkau
1eca9ee1b7
fix HOST_ARCH and GNU_HOST_NAME for freebsd and other operating systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 18:31:39 +00:00
Felix Fietkau
3a6c6d2fdc
don't touch TAR_OPTIONS in host.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 17:13:40 +00:00
Felix Fietkau
35891faea3
hide .host.mk commands
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 17:04:17 +00:00
Felix Fietkau
38e6843810
only use --wildcards for gnu tar
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 17:03:38 +00:00
Felix Fietkau
1da2c3fe51
move the common variables from host-build.mk to host.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:58:47 +00:00