Commit Graph

75 Commits (627e974c99ae27e8fd3db0e17c2df4d85f8975fa)

Author SHA1 Message Date
Felix Fietkau 627e974c99 partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk"
This complicates the evaluation order for some packages

SVN-Revision: 40006
10 years ago
John Crispin b5542f6aed include: r39979 broke kernel unpacking
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40002
10 years ago
Felix Fietkau f440e7faea kernel: fix parallel build issues with header install
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39424
10 years ago
Imre Kaloz 7aaa9bc91c add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39208
11 years ago
Florian Fainelli cdcde21b8d include: handle LZ4 compression scheme
Kernel 3.12 now offers LZ4 compression which will make initramfs builds
fail because we do not know how to substitute the relevant config
symbols, fix that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38533
11 years ago
Felix Fietkau bb494ed639 kernel: fix remaining initramfs related breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37518
11 years ago
Luka Perkov 448decfa8e include: fix path for kernel-generated cpio removal
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37128
11 years ago
Florian Fainelli 5b5fd9f92d include: force a kernel-generated cpio removal and rebuild
Make sure that the kernel rebuilds the initramfs cpio archive file by
deleting it before so we get it re-generated properly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37125
11 years ago
Florian Fainelli bc7260a125 buildroot: filter out dtbs KERNELNAME target (#13785)
Do not attempt to copy arch/$(LINUX_KARCH)/boot/dtbs because these are
not real files, fixes #13785.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37107
11 years ago
Florian Fainelli eab95ea467 buildroot: copy KENRNELNAME files to $(KDIR)
In order to support building both normal and initramfs kernel, we will
rebuild the wrappers around the vmlinux ELF binary, copy these with an
appropriate extension when they exist.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37048
11 years ago
Florian Fainelli a890ccd6e0 buildroot: build a second pass kernel if initramfs is enabled
If initramfs is enabled, build a second pass kernel containing the CPIO
rootfs, preliminary work to get non exclusive enabling of initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37047
11 years ago
Florian Fainelli b729d41d64 buildroot: workaround broken syntax highlighting
GNU Make's subst is always breaking syntax highlighting with at least
vim add the right comments to workaround it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37046
11 years ago
Florian Fainelli d85ec2b936 kernel: add missing CONFIG_KALLSYMS_UNCOMPRESSED symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35180
12 years ago
Imre Kaloz 0fa21ec3eb use xz compressed kernel tarballs
SVN-Revision: 34228
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
Florian Fainelli 246e563cb7 properly reindent Kernel/Prepare/Default
SVN-Revision: 34014
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 b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
12 years ago
Florian Fainelli 6de0939c3a build: allow KERNELNAME to contain multiple kernel make targets
SVN-Revision: 32423
12 years ago
Gabor Juhos 622146a518 include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
This fixes the following errors:

  CALL    arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h

SVN-Revision: 31598
12 years ago
Gabor Juhos 3349cf2691 Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31566
12 years ago
Felix Fietkau 34ffb526a2 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

SVN-Revision: 31484
12 years ago
Mirko Vogt ea14276046 enable verbose output of kernel build if V=99 is passed
append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99

SVN-Revision: 31466
12 years ago
John Crispin 032f3ea5e7 define external cpio
Allow building image with an external cpio

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

SVN-Revision: 31204
12 years ago
Jo-Philipp Wich 97af76a920 include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version. The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom *.ko files, e.g. for development purpose, is still possible.
SVN-Revision: 29686
13 years ago
Felix Fietkau fc0863785a add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
SVN-Revision: 27346
13 years ago
Felix Fietkau caf4747f0c build: clean up handling of the kernel config
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env

SVN-Revision: 26498
13 years ago
Imre Kaloz b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
13 years ago
Imre Kaloz a361eab890 fixup board specific KERNELNAME overrides
SVN-Revision: 25138
14 years ago
Imre Kaloz 832fc4a133 2.6.38 supports xz ramdisks, too
SVN-Revision: 25080
14 years ago
Florian Fainelli b6e9f1dfe0 make targets provide their KERNELNAME
SVN-Revision: 23919
14 years ago
Felix Fietkau 6117c04c94 remove linux 2.4 specific build system code
SVN-Revision: 21951
14 years ago
Alexandros C. Couloumbis 43ee14563c finalize lzma/jffs2 support (currently not enebled by default, for kernels >=2.6.33) based on Edgar Soldin patches: https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html
SVN-Revision: 20837
14 years ago
Imre Kaloz 0ebb9220a0 make lzo compressed initramfs selectable, too
SVN-Revision: 18457
15 years ago
Felix Fietkau ea41d3a288 merge target kernel config files with subtarget config files and add a variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9)
SVN-Revision: 18362
15 years ago
Felix Fietkau bf2fe7ea9a automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)
SVN-Revision: 18361
15 years ago
Gabor Juhos f7033929fa add menuconfig option for enabling debugfs support in the kernel
SVN-Revision: 17540
15 years ago
Gabor Juhos e2f5de7a46 add menuconfig option for selecting initramfs compression
SVN-Revision: 17283
15 years ago
Felix Fietkau bb5a40c64b add an optional config option for stripping all unnecessary symbol exports from the kernel image
SVN-Revision: 17181
15 years ago
Imre Kaloz 8582177e73 2.6.30 supports different initramfs compressors, take care of them
SVN-Revision: 15498
15 years ago
Florian Fainelli c09afea86a also strip the .notes section of the kernel
SVN-Revision: 15443
15 years ago
Felix Fietkau 08b408a4c5 move the EABI config override to the generic kernel config overrides, as it's arch specific, not target specific - fixes spurious kernel rebuild issues with EABI
SVN-Revision: 14594
15 years ago
Felix Fietkau 18441c327a kernel: add missing definition for CONFIG_KALLSYMS_ALL
SVN-Revision: 14507
15 years ago
Felix Fietkau 7b1820a1b7 strip the .note.gnu.build-id section from kernel images, which on some platforms can lead to unusable 3.1G kernel image files
SVN-Revision: 14357
16 years ago
Lars-Peter Clausen 24f02449ff Add menuconfig option for enabling profiling in the kernel.
SVN-Revision: 14272
16 years ago
Felix Fietkau b271605228 add a menuconfig option for enabling KALLSYMS for the kernel
SVN-Revision: 14122
16 years ago
Imre Kaloz 8375b83015 use the default kernel target on powerpc
SVN-Revision: 13357
16 years ago
Hamish Guthrie 86ac8bc7ea Adds support for using a local clone of a git tree
SVN-Revision: 12941
16 years ago
Felix Fietkau ab8c8b019f enable quilt by default for the kernel tree
SVN-Revision: 12400
16 years ago