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
14 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
14 years ago
Imre Kaloz
b74308c433
only support EABI on ARM targets
...
SVN-Revision: 25928
14 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
15 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
15 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
16 years ago
Florian Fainelli
c09afea86a
also strip the .notes section of the kernel
...
SVN-Revision: 15443
16 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
16 years ago
Felix Fietkau
18441c327a
kernel: add missing definition for CONFIG_KALLSYMS_ALL
...
SVN-Revision: 14507
16 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
Felix Fietkau
a3a37d0bb1
rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882
...
SVN-Revision: 12322
16 years ago
Felix Fietkau
7866f69cbe
spurious initramfs breakage fix
...
SVN-Revision: 11670
17 years ago
Andy Boyett
d9ec7366c7
Disabling use of libintl in kconfig.
...
SVN-Revision: 9934
17 years ago
Eugene Konev
4735a0f5fe
add external kernel tree support
...
SVN-Revision: 9584
17 years ago
Felix Fietkau
dfa7618bd6
fix the image builder
...
SVN-Revision: 9549
17 years ago
Felix Fietkau
881bac2db2
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>
SVN-Revision: 9410
17 years ago
Felix Fietkau
4a142953ea
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>
SVN-Revision: 9409
17 years ago
Felix Fietkau
4bb2c88f4e
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>
SVN-Revision: 9408
17 years ago
Felix Fietkau
d1933f9761
move a stampfile to make it easier to override the patch template
...
SVN-Revision: 9062
17 years ago
Nicolas Thill
8c7105e20a
remove (unused?) linux symlink in BUILD_DIR
...
SVN-Revision: 8804
17 years ago
Felix Fietkau
e63e1f7a4a
add support for device type based package preselections
...
SVN-Revision: 8696
17 years ago
Felix Fietkau
a9d683ca91
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
...
SVN-Revision: 8694
17 years ago
Felix Fietkau
c6bc77ea36
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
SVN-Revision: 8362
18 years ago
Felix Fietkau
bec2fe7c6c
remove CONFIG_JLEVEL. use make -j in the future
...
SVN-Revision: 8237
18 years ago
Felix Fietkau
8e42553971
dynamically enable/disable kernel config options for kmod packages based on build system config
...
SVN-Revision: 8026
18 years ago
Felix Fietkau
a344cd47ed
fix the tar invocation in kernel build ( #1935 )
...
SVN-Revision: 7686
18 years ago
Felix Fietkau
f019ac4dc9
prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
...
SVN-Revision: 7644
18 years ago
Imre Kaloz
08c7265613
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
...
SVN-Revision: 7533
18 years ago
Felix Fietkau
3b6b7a2d1b
implement quilt handling for the kernel tree ... and there was much rejoicing!
...
SVN-Revision: 7474
18 years ago
Mike Baker
854f0ad080
change handling of target/linux/generic-2.x/files to match other targets ( #1648 )
...
SVN-Revision: 7158
18 years ago
Felix Fietkau
90acc0e779
fix make kernel_menuconfig ( #1637 )
...
SVN-Revision: 7094
18 years ago
Felix Fietkau
74cd5bc109
add workaround for occasional kernel module build failures related to kernel config changes
...
SVN-Revision: 7050
18 years ago
Felix Fietkau
4c6c987f09
Improved autorebuild for kernel related stuff. - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
...
SVN-Revision: 6998
18 years ago
Felix Fietkau
35317253e6
trigger a kernel module rebuild when the kernel config changes
...
SVN-Revision: 6671
18 years ago
Felix Fietkau
ea952312ae
move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
...
SVN-Revision: 6664
18 years ago