aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-defaults.mk
Commit message (Collapse)AuthorAgeFilesLines
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* only support EABI on ARM targetsImre Kaloz2011-03-071-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixup board specific KERNELNAME overridesImre Kaloz2011-01-271-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 2.6.38 supports xz ramdisks, tooImre Kaloz2011-01-241-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] make targets provide their KERNELNAMEFlorian Fainelli2010-11-081-9/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove linux 2.4 specific build system codeFelix Fietkau2010-06-261-12/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make lzo compressed initramfs selectable, tooImre Kaloz2009-11-211-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)Felix Fietkau2009-11-111-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add menuconfig option for enabling debugfs support in the kernelGabor Juhos2009-09-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add menuconfig option for selecting initramfs compressionGabor Juhos2009-08-161-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an optional config option for stripping all unnecessary symbol exports ↵Felix Fietkau2009-08-081-0/+5
| | | | | | from the kernel image git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 2.6.30 supports different initramfs compressors, take care of themImre Kaloz2009-04-291-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] also strip the .notes section of the kernelFlorian Fainelli2009-04-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing definition for CONFIG_KALLSYMS_ALLFelix Fietkau2009-02-141-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add menuconfig option for enabling profiling in the kernel.Lars-Peter Clausen2009-01-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a menuconfig option for enabling KALLSYMS for the kernelFelix Fietkau2009-01-201-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use the default kernel target on powerpcImre Kaloz2008-11-261-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Adds support for using a local clone of a git treeHamish Guthrie2008-10-101-4/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable quilt by default for the kernel treeFelix Fietkau2008-08-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rework parallel building to get rid of some warningsFelix Fietkau2008-08-161-6/+6
| | | | | | | | 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
* spurious initramfs breakage fixFelix Fietkau2008-07-051-19/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Disabling use of libintl in kconfig.Andy Boyett2007-12-261-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add external kernel tree supportEugene Konev2007-11-201-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the image builderFelix Fietkau2007-11-141-16/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Allow targets to specify extra initramfs source filesFelix Fietkau2007-10-231-1/+3
| | | | | | | | | | | | | | | 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
* Use current UID for initramfs root user:groupFelix Fietkau2007-10-231-2/+2
| | | | | | | | | | | 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
* don't specify "CC=<nothing>" on kernel build command lineFelix Fietkau2007-10-231-4/+8
| | | | | | | | | | | | | | 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
* move a stampfile to make it easier to override the patch templateFelix Fietkau2007-09-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove (unused?) linux symlink in BUILD_DIRNicolas Thill2007-09-161-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for device type based package preselectionsFelix Fietkau2007-09-081-3/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* major target cleanup. it is now possible to have subtargets that can ↵Felix Fietkau2007-09-081-5/+2
| | | | | | 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
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-2/+2
| | | | | | 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
* remove CONFIG_JLEVEL. use make -j in the futureFelix Fietkau2007-07-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dynamically enable/disable kernel config options for kmod packages based on ↵Felix Fietkau2007-07-181-5/+5
| | | | | | build system config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the tar invocation in kernel build (#1935)Felix Fietkau2007-06-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prepare for the transition to linux 2.6.22 - make it possible to override ↵Felix Fietkau2007-06-161-2/+2
| | | | | | the kernel version in the target makefile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for the AVR32 platform, namely the ATNGW100 board - joint work ↵Imre Kaloz2007-06-081-0/+3
| | | | | | with wigyori git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* implement quilt handling for the kernel tree ... and there was much rejoicing!Felix Fietkau2007-06-031-4/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change handling of target/linux/generic-2.x/files to match other targets (#1648)Mike Baker2007-05-101-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix make kernel_menuconfig (#1637)Felix Fietkau2007-05-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add workaround for occasional kernel module build failures related to kernel ↵Felix Fietkau2007-04-251-0/+1
| | | | | | config changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Improved autorebuild for kernel related stuff.Felix Fietkau2007-04-181-1/+0
| | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* trigger a kernel module rebuild when the kernel config changesFelix Fietkau2007-03-241-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move default templates for the kernel build to kernel-defaults.mk (similar ↵Felix Fietkau2007-03-241-0/+93
to package-defaults.mk) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6664 3c298f89-4303-0410-b956-a3cf2f4a3e73