Commit Graph

1291 Commits (fc3c1317b77c7ae816f8e66ef0f1987ac4eb45c8)

Author SHA1 Message Date
Jo-Philipp Wich 88194208ed autotools.mk: add a gettext-version PKG_FIXUP (#11236)
This fixup aligns the required gettext version in shipped macros to the one
available in $(STAGING_DIR_HOST).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 17:53:51 +00:00
Imre Kaloz 50cb64b6ed it's time to break the barriers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 13:12:37 +00:00
Felix Fietkau 7e94d76cfa build: allow the package maintainer info to be specified globally for a source package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 11:40:57 +00:00
Felix Fietkau 5df4ff2973 build: create pkginfo dir earlier to avoid build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-06 22:42:57 +00:00
Felix Fietkau 6683f47568 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
Jo-Philipp Wich 5630868dee [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
Felix Fietkau ce44bef353 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
Felix Fietkau 4c3dab3285 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
Felix Fietkau ec4446db90 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
Felix Fietkau 649c378bfa 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
Jo-Philipp Wich b48b43658d [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
Felix Fietkau 1281f1c74c 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
Felix Fietkau 614fba333c 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
Felix Fietkau d5e0222429 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
Felix Fietkau 2e3918df33 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
Felix Fietkau fb4ad8c8f7 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
Felix Fietkau 397d1a3496 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 Fainelli da01601116 [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
Jo-Philipp Wich 9c8ed9e702 [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
John Crispin 24c1520ba7 [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
Jo-Philipp Wich 3a437178dc [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
Jo-Philipp Wich e51c7c8ba1 [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
Jo-Philipp Wich 2fdeb90156 [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
Jo-Philipp Wich e3377b48d1 [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
Jo-Philipp Wich 727a3dd0fa [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
John Crispin 7c4db9ed38 [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
John Crispin 3f157df8b9 [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
John Crispin e4bf8e56a9 [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
Felix Fietkau 5d7bf2454a 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
Felix Fietkau d60c221517 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
Jo-Philipp Wich f1a3abbd19 [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
Jo-Philipp Wich 6b372f62f8 [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
Jo-Philipp Wich 7ca8b5598a [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
Jo-Philipp Wich 3d25196097 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
Felix Fietkau a8311020d6 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
Felix Fietkau 7f0ce50d3c 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 Fainelli 812b0b0ade 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
John Crispin 37b25592de [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
Jo-Philipp Wich 41e9131509 [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
Felix Fietkau 0ec23389f8 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
Felix Fietkau 8ef94e67c3 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
Felix Fietkau 88364f16c2 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
Jo-Philipp Wich 2a372d147f [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
Jo-Philipp Wich 17abd54667 [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
Felix Fietkau 4cd7614715 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
Felix Fietkau bee3dd6a1b 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
Felix Fietkau 9db9b0ede7 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
Felix Fietkau 63c8fa0bbb 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
Felix Fietkau 2e99625953 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
Felix Fietkau f86dd79d2e 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