Felix Fietkau
b5f3dda123
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:53:56 +00:00
Mirko Vogt
6ed5cf8f22
[include/kernel-defaults.mk] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 12:42:57 +00:00
John Crispin
9bea396d2f
[image] define external cpio
...
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-04-05 14:33:04 +00:00
Jo-Philipp Wich
63b45c1a5d
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:23:11 +00:00
Felix Fietkau
2bff76170f
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:56 +00:00
Felix Fietkau
be05754678
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 14:48:55 +00:00
Imre Kaloz
c5b1e5ded2
only support EABI on ARM targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
Imre Kaloz
937fe0bbe9
fixup board specific KERNELNAME overrides
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 12:21:10 +00:00
Imre Kaloz
71cec38f69
2.6.38 supports xz ramdisks, too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 06:41:11 +00:00
Florian Fainelli
a4e62a74a7
[buildroot] make targets provide their KERNELNAME
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-08 07:31:25 +00:00
Felix Fietkau
67fbcc7bd4
remove linux 2.4 specific build system code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:38 +00:00
Alexandros C. Couloumbis
8a70f533b7
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 14:07:22 +00:00
Imre Kaloz
8e5aa66efe
make lzo compressed initramfs selectable, too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-21 15:20:11 +00:00
Felix Fietkau
9a724ec84e
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)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 01:25:06 +00:00
Felix Fietkau
a228d3f366
automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 01:25:02 +00:00
Gabor Juhos
738c6e1568
add menuconfig option for enabling debugfs support in the kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 07:25:20 +00:00
Gabor Juhos
2b07521e0d
add menuconfig option for selecting initramfs compression
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-16 05:35:34 +00:00
Felix Fietkau
131295ce36
add an optional config option for stripping all unnecessary symbol exports from the kernel image
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 14:22:04 +00:00
Imre Kaloz
0f9c7cb3c9
2.6.30 supports different initramfs compressors, take care of them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-29 20:53:38 +00:00
Florian Fainelli
909e5fce03
[kernel] also strip the .notes section of the kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:37:58 +00:00
Felix Fietkau
e938e513eb
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 16:26:27 +00:00
Felix Fietkau
55349584aa
kernel: add missing definition for CONFIG_KALLSYMS_ALL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 14:10:44 +00:00
Felix Fietkau
d755be2b9e
strip the .note.gnu.build-id section from kernel images, which on some 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-02-02 16:39:28 +00:00
Lars-Peter Clausen
521ed1454e
Add menuconfig option for enabling profiling in the kernel.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 23:52:35 +00:00
Felix Fietkau
58fcf1d291
add a menuconfig option for enabling KALLSYMS for the kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 21:09:04 +00:00
Imre Kaloz
38b1737377
use the default kernel target on powerpc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 09:51:36 +00:00
Hamish Guthrie
2491d94ade
Adds support for using a local clone of a git tree
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10 10:07:45 +00:00
Felix Fietkau
feb2913734
enable quilt by default for the kernel tree
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:14:00 +00:00
Felix Fietkau
627b34f1f2
rework parallel building to get rid of some warnings
...
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-08-16 16:59:47 +00:00
Felix Fietkau
f470171d1b
spurious initramfs breakage fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05 22:11:22 +00:00
Andy Boyett
613e3170a9
Disabling use of libintl in kconfig.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 22:21:56 +00:00
Eugene Konev
3436dab511
add external kernel tree support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 13:21:01 +00:00
Felix Fietkau
6ec8091bd5
fix the image builder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-14 23:11:07 +00:00
Felix Fietkau
a7c0ef0c98
Allow targets to specify extra initramfs source files
...
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-23 06:23:29 +00:00
Felix Fietkau
9e60a331bc
Use current UID for initramfs root user:group
...
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-23 06:23:26 +00:00
Felix Fietkau
89a37524b2
don't specify "CC=<nothing>" on kernel build command line
...
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-10-23 06:23:23 +00:00
Felix Fietkau
19e38ca2d4
move a stampfile to make it easier to override the patch template
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:39:57 +00:00
Nicolas Thill
1569372b6c
remove (unused?) linux symlink in BUILD_DIR
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 16:28:50 +00:00
Felix Fietkau
b1f60da081
add support for device type based package preselections
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 21:30:25 +00:00
Felix Fietkau
6bcd07afdd
major target cleanup. it is now possible to have subtargets that can 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-09-08 19:55:42 +00:00
Felix Fietkau
d10a56dc58
build system cleanup/restructuring as described in 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
2007-08-07 00:04:25 +00:00
Felix Fietkau
fe5198f0ff
remove CONFIG_JLEVEL. use make -j in the future
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:24:47 +00:00
Felix Fietkau
cbd55fe6d7
dynamically enable/disable kernel config options for kmod packages based on build system config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
Felix Fietkau
63e7959d68
fix the tar invocation in kernel build ( #1935 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-21 15:50:01 +00:00
Felix Fietkau
f46b6a0195
prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 01:56:04 +00:00
Imre Kaloz
15a51103e8
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
Felix Fietkau
773d1fc4f6
implement quilt handling for the kernel tree ... and there was much rejoicing!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 08:28:05 +00:00
Mike Baker
2103ad58c0
change handling of target/linux/generic-2.x/files to match other targets ( #1648 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 08:35:48 +00:00
Felix Fietkau
5a5f01fcac
fix make kernel_menuconfig ( #1637 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 08:53:34 +00:00
Felix Fietkau
c9977dec29
add workaround for occasional kernel module build failures related to kernel config changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-25 22:26:40 +00:00