summaryrefslogtreecommitdiffstats
path: root/include/kernel-defaults.mk
Commit message (Collapse)AuthorAgeFilesLines
* include: handle LZ4 compression schemeFlorian Fainelli2013-10-251-0/+1
| | | | | | | | | | 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
* kernel: fix remaining initramfs related breakageFelix Fietkau2013-07-231-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37518
* include: fix path for kernel-generated cpio removalLuka Perkov2013-07-021-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37128
* include: force a kernel-generated cpio removal and rebuildFlorian Fainelli2013-07-011-0/+1
| | | | | | | | | 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
* buildroot: filter out dtbs KERNELNAME target (#13785)Florian Fainelli2013-06-301-1/+1
| | | | | | | | | 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
* buildroot: copy KENRNELNAME files to $(KDIR)Florian Fainelli2013-06-271-0/+10
| | | | | | | | | | 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
* buildroot: build a second pass kernel if initramfs is enabledFlorian Fainelli2013-06-271-6/+29
| | | | | | | | | 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
* buildroot: workaround broken syntax highlightingFlorian Fainelli2013-06-271-0/+1
| | | | | | | | | 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
* kernel: add missing CONFIG_KALLSYMS_UNCOMPRESSED symbolFlorian Fainelli2013-01-151-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35180
* use xz compressed kernel tarballsImre Kaloz2012-11-181-1/+1
| | | | SVN-Revision: 34228
* kernel-defaults: factor common code handling initramfs optionsFlorian Fainelli2012-10-311-30/+25
| | | | | | | | 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
* properly reindent Kernel/Prepare/DefaultFlorian Fainelli2012-10-301-6/+6
| | | | SVN-Revision: 34014
* kernel: suppress redundant calls to headers installationFelix Fietkau2012-09-151-1/+1
| | | | SVN-Revision: 33421
* kernel: remove the explicit kernel make call for "oldconfig prepare ↵Felix Fietkau2012-09-151-1/+0
| | | | | | scripts", the kernel build system has proper dependencies SVN-Revision: 33420
* kernel: fix portability issues on the x86 specific relocs host tool, fixes ↵Felix Fietkau2012-07-201-0/+1
| | | | | | build on mac os x SVN-Revision: 32783
* build: allow KERNELNAME to contain multiple kernel make targetsFlorian Fainelli2012-06-181-1/+1
| | | | SVN-Revision: 32423
* include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSEGabor Juhos2012-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix iptables abuse of kernel header files. Use exported headers instead.Gabor Juhos2012-05-031-0/+1
| | | | | | | | [juhosg: export xt_layer7.h for all kernel versions] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> SVN-Revision: 31566
* build: rework verbosity level selectionFelix Fietkau2012-04-261-5/+2
| | | | | | | | | | | | | 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
* enable verbose output of kernel build if V=99 is passedMirko Vogt2012-04-241-0/+4
| | | | | | append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99 SVN-Revision: 31466
* define external cpioJohn Crispin2012-04-051-0/+16
| | | | | | | | Allow building image with an external cpio Signed-off-by: Tathagata Das <tathagata@alumnux.com> SVN-Revision: 31204
* include: calculate md5sum over sorted kernel config symbol list and ↵Jo-Philipp Wich2012-01-081-0/+1
| | | | | | 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
* add a portable version of sys/sysmacros.h and and let the kernel use the ↵Felix Fietkau2011-07-021-0/+2
| | | | | | host include dir, fixes x86 builds on non-gnu systems SVN-Revision: 27346
* build: clean up handling of the kernel configFelix Fietkau2011-04-061-1/+1
| | | | | | | - support kernel config overlays in env/ - allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env SVN-Revision: 26498
* only support EABI on ARM targetsImre Kaloz2011-03-071-2/+0
| | | | SVN-Revision: 25928
* fixup board specific KERNELNAME overridesImre Kaloz2011-01-271-3/+1
| | | | SVN-Revision: 25138
* 2.6.38 supports xz ramdisks, tooImre Kaloz2011-01-241-0/+1
| | | | SVN-Revision: 25080
* make targets provide their KERNELNAMEFlorian Fainelli2010-11-081-9/+0
| | | | SVN-Revision: 23919
* remove linux 2.4 specific build system codeFelix Fietkau2010-06-261-12/+2
| | | | SVN-Revision: 21951
* finalize lzma/jffs2 support (currently not enebled by default, for kernels ↵Alexandros C. Couloumbis2010-04-131-3/+2
| | | | | | >=2.6.33) based on Edgar Soldin patches: https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html SVN-Revision: 20837
* make lzo compressed initramfs selectable, tooImre Kaloz2009-11-211-0/+1
| | | | SVN-Revision: 18457
* merge target kernel config files with subtarget config files and add a ↵Felix Fietkau2009-11-111-1/+1
| | | | | | variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9) SVN-Revision: 18362
* automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)Felix Fietkau2009-11-111-1/+2
| | | | SVN-Revision: 18361
* add menuconfig option for enabling debugfs support in the kernelGabor Juhos2009-09-081-0/+1
| | | | SVN-Revision: 17540
* add menuconfig option for selecting initramfs compressionGabor Juhos2009-08-161-5/+7
| | | | SVN-Revision: 17283
* add an optional config option for stripping all unnecessary symbol exports ↵Felix Fietkau2009-08-081-0/+5
| | | | | | from the kernel image SVN-Revision: 17181
* 2.6.30 supports different initramfs compressors, take care of themImre Kaloz2009-04-291-0/+2
| | | | SVN-Revision: 15498
* also strip the .notes section of the kernelFlorian Fainelli2009-04-271-1/+1
| | | | SVN-Revision: 15443
* move the EABI config override to the generic kernel config overrides, as ↵Felix Fietkau2009-02-211-0/+2
| | | | | | it's arch specific, not target specific - fixes spurious kernel rebuild issues with EABI SVN-Revision: 14594
* kernel: add missing definition for CONFIG_KALLSYMS_ALLFelix Fietkau2009-02-141-0/+1
| | | | SVN-Revision: 14507
* strip the .note.gnu.build-id section from kernel images, which on some ↵Felix Fietkau2009-02-021-2/+4
| | | | | | platforms can lead to unusable 3.1G kernel image files SVN-Revision: 14357
* Add menuconfig option for enabling profiling in the kernel.Lars-Peter Clausen2009-01-291-0/+1
| | | | SVN-Revision: 14272
* add a menuconfig option for enabling KALLSYMS for the kernelFelix Fietkau2009-01-201-0/+3
| | | | SVN-Revision: 14122
* use the default kernel target on powerpcImre Kaloz2008-11-261-3/+0
| | | | SVN-Revision: 13357
* Adds support for using a local clone of a git treeHamish Guthrie2008-10-101-4/+16
| | | | SVN-Revision: 12941
* enable quilt by default for the kernel treeFelix Fietkau2008-08-271-1/+1
| | | | SVN-Revision: 12400
* rework parallel building to get rid of some warnings and add back support ↵Felix Fietkau2008-08-161-6/+6
| | | | | | for parallelizing the kernel build fixes #3882 SVN-Revision: 12322
* spurious initramfs breakage fixFelix Fietkau2008-07-051-19/+20
| | | | SVN-Revision: 11670
* Disabling use of libintl in kconfig.Andy Boyett2007-12-261-0/+1
| | | | SVN-Revision: 9934
* add external kernel tree supportEugene Konev2007-11-201-0/+10
| | | | SVN-Revision: 9584