summaryrefslogtreecommitdiff
path: root/include/kernel-defaults.mk
AgeCommit message (Collapse)Author
2012-11-18use xz compressed kernel tarballskaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31[buildroot] kernel-defaults: factor common code handling initramfs optionsflorian
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-30[buildroot] properly reindent Kernel/Prepare/Defaultflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15kernel: suppress redundant calls to headers installationnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15kernel: remove the explicit kernel make call for "oldconfig prepare ↵nbd
scripts", the kernel build system has proper dependencies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20kernel: fix portability issues on the x86 specific relocs host tool, fixes ↵nbd
build on mac os x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18build: allow KERNELNAME to contain multiple kernel make targetsflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSEjuhosg
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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03Fix iptables abuse of kernel header files. Use exported headers instead.juhosg
[juhosg: export xt_layer7.h for all kernel versions] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26build: rework verbosity level selectionnbd
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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24[include/kernel-defaults.mk] enable verbose output of kernel build if V=99 ↵mirko
is passed append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05[image] define external cpioblogic
Allow building image with an external cpio Signed-off-by: Tathagata Das <tathagata@alumnux.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08include: calculate md5sum over sorted kernel config symbol list and ↵jow
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02add a portable version of sys/sysmacros.h and and let the kernel use the ↵nbd
host include dir, fixes x86 builds on non-gnu systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06build: clean up handling of the kernel confignbd
- support kernel config overlays in env/ - allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07only support EABI on ARM targetskaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27fixup board specific KERNELNAME overrideskaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-242.6.38 supports xz ramdisks, tookaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-08[buildroot] make targets provide their KERNELNAMEflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26remove linux 2.4 specific build system codenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13finalize lzma/jffs2 support (currently not enebled by default, for kernels ↵acoul
>=2.6.33) based on Edgar Soldin patches: https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-21make lzo compressed initramfs selectable, tookaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11merge target kernel config files with subtarget config files and add a ↵nbd
variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08add menuconfig option for enabling debugfs support in the kerneljuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-16add menuconfig option for selecting initramfs compressionjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08add an optional config option for stripping all unnecessary symbol exports ↵nbd
from the kernel image git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-292.6.30 supports different initramfs compressors, take care of themkaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27[kernel] also strip the .notes section of the kernelflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21move the EABI config override to the generic kernel config overrides, as ↵nbd
it's arch specific, not target specific - fixes spurious kernel rebuild issues with EABI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14kernel: add missing definition for CONFIG_KALLSYMS_ALLnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02strip the .note.gnu.build-id section from kernel images, which on some ↵nbd
platforms can lead to unusable 3.1G kernel image files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29Add menuconfig option for enabling profiling in the kernel.lars
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20add a menuconfig option for enabling KALLSYMS for the kernelnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26use the default kernel target on powerpckaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10Adds support for using a local clone of a git treehcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27enable quilt by default for the kernel treenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16rework parallel building to get rid of some warningsnbd
and add back support for parallelizing the kernel build fixes #3882 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05spurious initramfs breakage fixnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26Disabling use of libintl in kconfig.agb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20add external kernel tree supportejka
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-14fix the image buildernbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23Allow targets to specify extra initramfs source filesnbd
The CONFIG_INITRAMFS_SOURCE Kconfig variable can be a space-separated list of source files (or directories). This allows a platform to add extra components to the initramfs image, by defining the INITRAMFS_EXTRA_FILES make var. By default, we add a simple initramfs extra file for the generic-2.6 platform, which specifies a few device nodes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23Use current UID for initramfs root user:groupnbd
Set the CONFIG_INITRAMFS_ROOT_{U,G}ID kernel variables to the current user, so that all files end up being owned by root in the final initramfs image. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23don't specify "CC=<nothing>" on kernel build command linenbd
If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build command-line. We don't always need CC, as the CROSS_COMPILE flag does the job instead. In fact, specifying CC messes up the build when we're using a biarch compiler. This change doesn't specify CC= if the KERNEL_CC variable is empty. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29move a stampfile to make it easier to override the patch templatenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16remove (unused?) linux symlink in BUILD_DIRnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08add support for device type based package preselectionsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08major target cleanup. it is now possible to have subtargets that can ↵nbd
override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07build system cleanup/restructuring as described in ↵nbd
http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73