nbd
a5ff4c2e97
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-06 16:01:06 +00:00
jow
639abfa638
[include] version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-24 18:26:48 +00:00
nbd
6a31a701e2
build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:50:01 +00:00
nbd
cc5c77bb4a
build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:49:52 +00:00
nbd
e126bc2385
include/netfilter.mk: remove a few obsolete lines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 08:25:32 +00:00
nbd
3f0adfd3fc
host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:28 +00:00
jow
1999a57b6f
[include] make packages depend on +librt and +libpthread by default if eglibc is in use
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:30:40 +00:00
nbd
55c1daea2c
build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 11:17:26 +00:00
nbd
aeb80f6ab0
build: add jobserver support for host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 12:34:48 +00:00
nbd
8b591f9808
build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 12:16:14 +00:00
nbd
93ca39cd0c
kernel: suppress redundant calls to headers installation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 12:16:11 +00:00
nbd
3d260ecbf8
kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 12:16:07 +00:00
nbd
1f87d10e85
build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 10:21:24 +00:00
florian
f1b8b6700c
[buildroot] add sparc specific site files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:41 +00:00
jow
f78b4e1054
[buildroot] do not pass optimization flags in HOST_CPPFLAGS ( #12153 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:35:42 +00:00
blogic
1ea0a3e0e8
[lantiq] unify tapi deps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 11:08:13 +00:00
jow
da93f7edd2
[buildroot] introduce a menuconfig option to turn off static linking of host utilities
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 00:26:34 +00:00
jow
036f79f8de
[include] prereq-build.mk: do not perform static linking tests on Darwin
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:28 +00:00
jow
e65348e877
[include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:25 +00:00
jow
6c85e21f3d
[include] add remaining missing build prereq checks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 00:05:18 +00:00
jow
e4c283aa7e
[include] add a build preeq check for glibc-static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 23:35:20 +00:00
blogic
f12d141fa0
[include] fix up scons vs ccache
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 21:06:59 +00:00
blogic
dec5716587
[include] use autoreconf hook instead of manual call
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 10:34:06 +00:00
blogic
f87b494585
[include] package-version-override always calls autoreconf
...
make it conditional on the existance of autoreconf
Signed-off-by: Ryan Nowakowski <tubaman@fattuba.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 23:07:30 +00:00
nbd
02d161708f
kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20 12:28:50 +00:00
nbd
723aad6f32
scripts/config: build with gcc instead of clang on mac os x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-16 14:14:12 +00:00
jow
91671f3da0
[include] package-ipkg.mk: flag packages as "ok" after install
...
By flagging compile-time-installed packages as "ok", they can be differentiated
from runtime-installed packages on the target later on.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 19:29:43 +00:00
jow
2732b0a733
[include] nls.mk: fix build dependency on gettext ( #11829 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 10:05:00 +00:00
jow
48ca02ef6f
[include] toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes the buildroot up
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 09:59:06 +00:00
jow
86db0188fa
include/image.mk: /tmp should have mode 1777
...
On the off chance that the root filesystem's /tmp is used directly as a
temporary directory instead of having a tmpfs mounted over it, it should have
the sticky bit set.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:48:54 +00:00
nbd
b284b583be
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:43:59 +00:00
nbd
8a25c3c9d3
kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
...
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko
if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:
[ 44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[ 44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)
Signed-off-by: Peter Wagner <tripolar@gmx.at>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:30:48 +00:00
florian
df1670948d
build: allow KERNELNAME to contain multiple kernel make targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 13:20:50 +00:00
blogic
8b3a99d374
[uclibc++] fix ccache related build breakage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 08:50:26 +00:00
jow
d7c5077759
[include] uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 12:57:29 +00:00
nbd
eb1c7a641f
build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:26:04 +00:00
nbd
4c137dea8b
build: add a variable for injecting config variable dependencies for the .prepared stamp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:26:00 +00:00
nbd
47f6b6593c
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 18:09:54 +00:00
jow
5309dc0479
[include] package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 11:42:17 +00:00
jow
416212fa14
[include] autotools.mk: cope with Debian version strings in libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 21:50:50 +00:00
nbd
4f0c36d0d3
package.mk: unexport the QUIET variable, it affects some packages like xapian-bindings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 15:07:51 +00:00
nbd
af491558a3
build: add checks for missing package dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:57:36 +00:00
nbd
52f252f702
build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 20:27:41 +00:00
nbd
bc5ad537db
build: add a dependency on libc to all non-kernel packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 20:27:37 +00:00
nbd
a165494cd2
prereq-build: flex is built in tools/ - do not require it to be installed on the host
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 16:39:33 +00:00
nbd
7bd3c3f626
include/netfilter.mk: clean up, remove junk for old kernel versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 16:30:48 +00:00
nbd
2ef3c1bef4
build: add PKG_MIRROR_MD5SUM support for host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 14:08:47 +00:00
nbd
39bab2ee8c
build: prevent the environment variable CROSS_COMPILE from leaking into builds ( fixes #11603 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:46:00 +00:00
nbd
735635b1e1
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:45:53 +00:00
jow
132717c891
[package] base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 18:02:00 +00:00