aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-build.mk
Commit message (Collapse)AuthorAgeFilesLines
* kernel-build: fix STRIP_KERNEL_EXPORTS for recent kernelsJohn Crispin2014-09-151-1/+1
| | | | | | | | | | Recent kernels started to mark exported symbols as global. Adapt expressions in kernel-build.mk to also match global symbols when grep'ing through nm output. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 42555
* include: fix kernel download failure with git & local treesJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | When using the options EXTERNAL_KERNEL_TREE or KERNEL_GIT_CLONE_URI, the command "make downloads" fails as it tries to download the kernel tarball despite the option. This doesn't happen during a regular build as in that case, the dependency is conditionned through the LINUX_SITE variable, which is not set in these cases. Below is a snapshot of the error for an target using a 3.14 kernel: make[3]: *** No rule to make target `.../dl/linux-3.14.tar.xz', needed by `download'. Stop. Change-Id: I1244969c1bbf9c81a6a64d68ae88ac58b0f8e79e Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 40913
* build: speed up kernel symbol export strippingFelix Fietkau2013-12-141-3/+3
| | | | | | | | | | GNU grep has a high per-expression setup overhead when compiling regular expressions. Use -F to force it to interpret the input as fixed strings, which is much faster (fraction of a second instead of multiple minutes). Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39049
* buildroot: build a second pass kernel if initramfs is enabledFlorian Fainelli2013-06-271-0/+1
| | | | | | | | | 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
* kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mipsFelix Fietkau2013-01-261-10/+2
| | | | | | | in combination with kernel symbol export stripping this significantly reduces the kernel image size SVN-Revision: 35320
* kernel: fix module export strippingFelix Fietkau2013-01-261-4/+4
| | | | SVN-Revision: 35319
* kernel: fix stripping symbol exportsFelix Fietkau2012-12-021-7/+23
| | | | SVN-Revision: 34458
* kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI ↵Jo-Philipp Wich2011-10-031-1/+1
| | | | | | or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case SVN-Revision: 28361
* build: clean up handling of the kernel configFelix Fietkau2011-04-061-7/+4
| | | | | | | - support kernel config overlays in env/ - allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env SVN-Revision: 26498
* Add kernel_nconfig make targetLars-Peter Clausen2010-08-061-1/+1
| | | | SVN-Revision: 22518
* add a build system option for collecting all kernel debug information ↵Felix Fietkau2010-07-211-0/+14
| | | | | | (including modules) in a tarball SVN-Revision: 22327
* Revert "sort Kconfig symbols automatically to make Kaloz happy :p" Relying ↵Felix Fietkau2010-02-161-1/+0
| | | | | | on some sort implementations' weird behaviour of ignoring # and whitespaces at the beginning of a line is not a good idea, and it's certainly not portable SVN-Revision: 19675
* sort Kconfig symbols automatically to make Kaloz happy :pGabor Juhos2010-02-111-0/+1
| | | | SVN-Revision: 19582
* merge target kernel config files with subtarget config files and add a ↵Felix Fietkau2009-11-111-1/+2
| | | | | | variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9) SVN-Revision: 18362
* add an optional config option for stripping all unnecessary symbol exports ↵Felix Fietkau2009-08-081-1/+23
| | | | | | from the kernel image SVN-Revision: 17181
* kernel: make sure all patches are applied before running menuconfig or oldconfigFelix Fietkau2009-04-211-1/+1
| | | | SVN-Revision: 15325
* enable quilt by default for the kernel treeFelix Fietkau2008-08-271-0/+1
| | | | SVN-Revision: 12400
* fix make kernel_menuconfig for subtarget kernel config filesFelix Fietkau2008-08-231-1/+1
| | | | SVN-Revision: 12376
* rework parallel building to get rid of some warnings and add back support ↵Felix Fietkau2008-08-161-10/+3
| | | | | | for parallelizing the kernel build fixes #3882 SVN-Revision: 12322
* create a platform config-* file if there is none already when running ↵Felix Fietkau2008-06-131-0/+1
| | | | | | kernel_menuconfig or kernel_oldconfig SVN-Revision: 11460
* large improvement for parallel builds. works without V=99 now and without ↵Felix Fietkau2008-06-091-5/+1
| | | | | | warnings. tested with -j on an 2x dual core opteron machine SVN-Revision: 11414
* fix kernel config on kernel_menuconfig abortFelix Fietkau2008-05-081-0/+1
| | | | SVN-Revision: 11076
* fixes for refresh/update handlingFelix Fietkau2007-09-291-0/+1
| | | | SVN-Revision: 9063
* Refactor downloading code into download.mk Support multiple file downloads ↵Felix Fietkau2007-09-291-5/+8
| | | | | | Support svn downloads SVN-Revision: 9057
* properly clean up after kernel_{old,menu}configFelix Fietkau2007-09-111-1/+1
| | | | SVN-Revision: 8737
* fix kernel_menuconfigFelix Fietkau2007-09-101-1/+1
| | | | SVN-Revision: 8726
* major target cleanup. it is now possible to have subtargets that can ↵Felix Fietkau2007-09-081-118/+26
| | | | | | override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets SVN-Revision: 8694
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-061-1/+2
| | | | | | (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. SVN-Revision: 8653
* include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵Nicolas Thill2007-08-261-1/+0
| | | | | | is always available SVN-Revision: 8494
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-0/+2
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html SVN-Revision: 8362
* fix image installationFelix Fietkau2007-08-031-2/+2
| | | | SVN-Revision: 8324
* silenceFelix Fietkau2007-07-301-1/+1
| | | | SVN-Revision: 8252
* next round of cleanup, convert target/ - make -j works now ;)Felix Fietkau2007-07-301-0/+6
| | | | SVN-Revision: 8242
* more dependency fixesFelix Fietkau2007-07-231-6/+0
| | | | SVN-Revision: 8115
* prevent the new config changes from interfering with kernel_menuconfigFelix Fietkau2007-07-181-1/+1
| | | | SVN-Revision: 8031
* dynamically enable/disable kernel config options for kmod packages based on ↵Felix Fietkau2007-07-181-1/+1
| | | | | | build system config SVN-Revision: 8026
* add kernel_oldconfig targetFelix Fietkau2007-07-161-2/+2
| | | | SVN-Revision: 8003
* kernel: fix dependencies for .config, use selections from oldconfig when ↵Felix Fietkau2007-07-161-6/+6
| | | | | | running menuconfig SVN-Revision: 7997
* merge the kernel config parts at dump time, so that overrides that disable ↵Felix Fietkau2007-06-301-2/+7
| | | | | | certain features work SVN-Revision: 7812
* prepare for the transition to linux 2.6.22 - make it possible to override ↵Felix Fietkau2007-06-161-4/+6
| | | | | | the kernel version in the target makefile SVN-Revision: 7644
* implement quilt handling for the kernel tree ... and there was much rejoicing!Felix Fietkau2007-06-031-2/+5
| | | | SVN-Revision: 7474
* fix pcmcia/pccard build defaultsFelix Fietkau2007-05-191-1/+1
| | | | SVN-Revision: 7275
* Improved autorebuild for kernel related stuff. - make modules_install in the ↵Felix Fietkau2007-04-181-1/+1
| | | | | | 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
* remove reference to unused .kernel.mkFelix Fietkau2007-04-151-1/+1
| | | | SVN-Revision: 6959
* trigger a kernel module rebuild when the kernel config changesFelix Fietkau2007-03-241-4/+1
| | | | SVN-Revision: 6671
* move default templates for the kernel build to kernel-defaults.mk (similar ↵Felix Fietkau2007-03-241-84/+2
| | | | | | to package-defaults.mk) SVN-Revision: 6664
* some cleanups in the metadata.pl script; allow target profiles to add ↵Felix Fietkau2007-03-231-0/+4
| | | | | | overrides for menuconfig SVN-Revision: 6648
* nuke mdev and replace it with hotplug2 :)Felix Fietkau2007-03-041-0/+3
| | | | SVN-Revision: 6512
* fix an error in the kernel image related commitFelix Fietkau2007-03-021-1/+1
| | | | SVN-Revision: 6467
* kernel build cleanupFelix Fietkau2007-03-021-0/+1
| | | | SVN-Revision: 6464