Felix Fietkau
1c7f02bbb9
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:24 +00:00
Gabor Juhos
2dfb18cc0b
build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
...
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:
/dev/loop0 48377 8482 37438 19% /mnt/spare
# rmdir lost+found/
/dev/loop0 48377 6014 39906 14% /mnt/spare
This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 17:37:15 +00:00
Gabor Juhos
56e999eaf3
kernel: update linux 3.6 to 3.6.8
...
Also refresh the affected patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 07:42:19 +00:00
Florian Fainelli
815dc7a50b
[buildroot] image.mk: don't squash file permissions in JFFS2 images
...
Currently we call mkfs.jffs2 --squash, which will change
both file permissions and owners.
If we have some file with suid bits, it will clear these bits.
Thus it's enough to just squash file owners, by replacing that
argument to --squash-uids.
Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-27 18:42:45 +00:00
Florian Fainelli
24cc4007ce
[buildroot] add preliminary support for musl
...
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00
Jo-Philipp Wich
b3983573d6
include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 13:43:24 +00:00
Hauke Mehrtens
43c79d519d
kernel: fix loading of nf_nat_irc
...
nf_nat_irc depends on nf_conntrack_irc and it should be defined after that.
This fixes a problem introduced in r34247.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:18:37 +00:00
Imre Kaloz
43d2eb64cc
[generic]: add 3.7-rc6 support (patch 820 still has to be fixed)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 18:52:38 +00:00
Imre Kaloz
19498d12d4
use xz compressed kernel tarballs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:49:08 +00:00
Gabor Juhos
a0e5999983
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:41:31 +00:00
Imre Kaloz
effd4b76ec
we don't support kernels < 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:39:10 +00:00
Imre Kaloz
189d22580b
we only support v3.x kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:38:26 +00:00
Jo-Philipp Wich
ee76e2804a
buildroot: isolate the .install stamp files for build variants ( #12279 )
...
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 16:15:22 +00:00
Gabor Juhos
d7e7749443
kernel: update linux 3.6 to 3.6.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:22:09 +00:00
Gabor Juhos
5abc89f037
kernel: update linux 3.6 to 3.6.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:09:39 +00:00
Florian Fainelli
58ceee098e
[buildroot] kernel-defaults: factor common code handling initramfs options
...
While at it, reindent so it is more in-line with the rest of the file.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 17:32:37 +00:00
Felix Fietkau
5ba7421eed
build: increase file descriptor count limit for the build, some systems (e.g. Mac OS X default to 256, which is too little for some parallel builds)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:23:47 +00:00
Florian Fainelli
917c029103
[buildroot] properly reindent Kernel/Prepare/Default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 16:56:03 +00:00
Gabor Juhos
b783fb21a5
kernel: update linux 3.6 to 3.6.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 18:59:39 +00:00
Florian Fainelli
7734b310f8
[buildroot] make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:10 +00:00
Imre Kaloz
648f1d0171
[generic]: linux 3.6 support (work in progress)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 12:21:34 +00:00
Hamish Guthrie
a81ef914e0
licensing: Add licensing metadata to many packages
...
Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.
The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00
Felix Fietkau
9afeebbea7
toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 13:03:08 +00:00
Felix Fietkau
95249233fc
build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-15 13:19:41 +00:00
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