1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 01:33:08 +02:00
Commit Graph

1317 Commits

Author SHA1 Message Date
jow
976bbc4212 include: download.mk: correct tar argument order when packing checkouts
GNU TAR v1.26 will fail with "no such file or directory" errors when the
output file does not immediately follow the -f switch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:35:47 +00:00
nbd
1a249c9a12 kernel: fix stripping symbol exports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 17:42:17 +00:00
nbd
a76de89b3e 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
juhosg
f80deda3fe 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
juhosg
7617db12cb 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
baad3f17ed [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
cfcc935fa2 [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
jow
402ccba35c 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
2ca063d6c1 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
kaloz
a50e0e7076 [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
kaloz
1e890393c3 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
juhosg
b270e13375 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
kaloz
777a1e41d4 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
kaloz
421c1040a5 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
jow
366bfe9f21 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
juhosg
b4e8cdb713 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
juhosg
a7af64893d 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
1b091731ef [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
nbd
127e78904d 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
2fd9fd4609 [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
juhosg
4e2267ffdd 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
3526d793a6 [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
kaloz
1c3d05cf73 [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
hcg
58313fff71 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
nbd
66898596e6 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
nbd
07540fb955 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
jow
4f32cbce87 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
kaloz
86b1704b24 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
nbd
3798821e3b 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
nbd
a81aed2f57 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
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