Commit Graph

1198 Commits (a68f386663f09d3abb315fd8d01e5733547c3005)

Author SHA1 Message Date
Gabor Juhos d90e805fe6 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>

SVN-Revision: 34408
12 years ago
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
12 years ago
Florian Fainelli 7196f5d7c8 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>

SVN-Revision: 34397
12 years ago
Florian Fainelli 6b63716262 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>

SVN-Revision: 34314
12 years ago
Jo-Philipp Wich 9079032833 include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot
SVN-Revision: 34299
12 years ago
Hauke Mehrtens d648dad7fa 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.

SVN-Revision: 34251
12 years ago
Imre Kaloz 935ca3f3eb add 3.7-rc6 support (patch 820 still has to be fixed)
SVN-Revision: 34247
12 years ago
Imre Kaloz 0fa21ec3eb use xz compressed kernel tarballs
SVN-Revision: 34228
12 years ago
Gabor Juhos ff1e854511 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34227
12 years ago
Imre Kaloz 8f7ea44df0 we don't support kernels < 3.3
SVN-Revision: 34226
12 years ago
Imre Kaloz 996f48b4a3 we only support v3.x kernels
SVN-Revision: 34225
12 years ago
Jo-Philipp Wich d3e90ba7a7 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 .

SVN-Revision: 34106
12 years ago
Gabor Juhos e8669729bc kernel: update linux 3.6 to 3.6.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34086
12 years ago
Gabor Juhos 07a762c4c5 kernel: update linux 3.6 to 3.6.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34042
12 years ago
Florian Fainelli 451803c51a 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>

SVN-Revision: 34034
12 years ago
Felix Fietkau b495423a22 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>

SVN-Revision: 34023
12 years ago
Florian Fainelli 246e563cb7 properly reindent Kernel/Prepare/Default
SVN-Revision: 34014
12 years ago
Gabor Juhos 87186c5ed4 kernel: update linux 3.6 to 3.6.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33982
12 years ago
Florian Fainelli 3948c077c9 make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP
SVN-Revision: 33908
12 years ago
Imre Kaloz 949b46d13d linux 3.6 support (work in progress)
SVN-Revision: 33897
12 years ago
Hamish Guthrie 81a3d9ba31 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!

SVN-Revision: 33861
12 years ago
Felix Fietkau c6ba19c70e toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
12 years ago
Felix Fietkau 6d1884c583 build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir
SVN-Revision: 33776
12 years ago
Jo-Philipp Wich 7074927533 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).

SVN-Revision: 33708
12 years ago
Imre Kaloz c5e5e70ab0 it's time to break the barriers
SVN-Revision: 33666
12 years ago
Felix Fietkau 2d7eaf2e15 build: allow the package maintainer info to be specified globally for a source package
SVN-Revision: 33659
12 years ago
Felix Fietkau 6f752c725a build: create pkginfo dir earlier to avoid build breakage
SVN-Revision: 33633
12 years ago
Felix Fietkau 44cd20b802 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
SVN-Revision: 33631
12 years ago
Jo-Philipp Wich 1cd6237979 version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists
SVN-Revision: 33534
12 years ago
Felix Fietkau ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
12 years ago
Felix Fietkau 7950f996e0 build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messages
SVN-Revision: 33521
12 years ago
Felix Fietkau d406a5208f include/netfilter.mk: remove a few obsolete lines
SVN-Revision: 33518
12 years ago
Felix Fietkau 1c108d3318 host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
SVN-Revision: 33509
12 years ago
Jo-Philipp Wich b06f4dc972 make packages depend on +librt and +libpthread by default if eglibc is in use
SVN-Revision: 33480
12 years ago
Felix Fietkau b086475e1e build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
SVN-Revision: 33445
12 years ago
Felix Fietkau f19dbfff91 build: add jobserver support for host builds
SVN-Revision: 33423
12 years ago
Felix Fietkau c4198ce48d build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds
SVN-Revision: 33422
12 years ago
Felix Fietkau 482a6d4aea kernel: suppress redundant calls to headers installation
SVN-Revision: 33421
12 years ago
Felix Fietkau 8091d3f2e8 kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies
SVN-Revision: 33420
12 years ago
Felix Fietkau be6f437649 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
SVN-Revision: 33414
12 years ago
Florian Fainelli 6bc394d90f add sparc specific site files
SVN-Revision: 33405
12 years ago
Jo-Philipp Wich 8726a422cd do not pass optimization flags in HOST_CPPFLAGS (#12153)
SVN-Revision: 33351
12 years ago
John Crispin e6e331ca67 unify tapi deps
SVN-Revision: 33160
12 years ago
Jo-Philipp Wich 29b91ef01a introduce a menuconfig option to turn off static linking of host utilities
SVN-Revision: 33154
12 years ago
Jo-Philipp Wich 095fe8743b prereq-build.mk: do not perform static linking tests on Darwin
SVN-Revision: 33139
12 years ago
Jo-Philipp Wich 94a96244f6 host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
SVN-Revision: 33138
12 years ago
Jo-Philipp Wich 67edc7ec63 add remaining missing build prereq checks
SVN-Revision: 33122
12 years ago
Jo-Philipp Wich a996cc1444 add a build preeq check for glibc-static
SVN-Revision: 33121
12 years ago
John Crispin 370894e594 fix up scons vs ccache
SVN-Revision: 32902
12 years ago
John Crispin 584bc13d38 use autoreconf hook instead of manual call
SVN-Revision: 32837
12 years ago