summaryrefslogtreecommitdiffstats
path: root/include/kernel-build.mk
Commit message (Collapse)AuthorAgeFilesLines
* kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mipsnbd2013-01-261-10/+2
| | | | | | | in combination with kernel symbol export stripping this significantly reduces the kernel image size git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix module export strippingnbd2013-01-261-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix stripping symbol exportsnbd2012-12-021-7/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] kernel-build.mk: there is no tarball when using ↵jow2011-10-031-1/+1
| | | | | | CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: clean up handling of the kernel confignbd2011-04-061-7/+4
| | | | | | | - 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
* Add kernel_nconfig make targetlars2010-08-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a build system option for collecting all kernel debug information ↵nbd2010-07-211-0/+14
| | | | | | (including modules) in a tarball git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "sort Kconfig symbols automatically to make Kaloz happy :p"nbd2010-02-161-1/+0
| | | | | | Relying 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sort Kconfig symbols automatically to make Kaloz happy :pjuhosg2010-02-111-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* merge target kernel config files with subtarget config files and add a ↵nbd2009-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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an optional config option for stripping all unnecessary symbol exports ↵nbd2009-08-081-1/+23
| | | | | | from the kernel image git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make sure all patches are applied before running menuconfig or oldconfignbd2009-04-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable quilt by default for the kernel treenbd2008-08-271-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix make kernel_menuconfig for subtarget kernel config filesnbd2008-08-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rework parallel building to get rid of some warningsnbd2008-08-161-10/+3
| | | | | | | | 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
* create a platform config-* file if there is none already when running ↵nbd2008-06-131-0/+1
| | | | | | kernel_menuconfig or kernel_oldconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* large improvement for parallel builds. works without V=99 now and without ↵nbd2008-06-091-5/+1
| | | | | | warnings. tested with -j on an 2x dual core opteron machine git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kernel config on kernel_menuconfig abortnbd2008-05-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes for refresh/update handlingnbd2007-09-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Refactor downloading code into download.mknbd2007-09-291-5/+8
| | | | | | | | Support multiple file downloads Support svn downloads git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* properly clean up after kernel_{old,menu}confignbd2007-09-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kernel_menuconfignbd2007-09-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* major target cleanup. it is now possible to have subtargets that can ↵nbd2007-09-081-118/+26
| | | | | | 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
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵nbd2007-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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵nico2007-08-261-1/+0
| | | | | | is always available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup/restructuring as described in ↵nbd2007-08-071-0/+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
* fix image installationnbd2007-08-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* silencenbd2007-07-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* next round of cleanup, convert target/ - make -j works now ;)nbd2007-07-301-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more dependency fixesnbd2007-07-231-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prevent the new config changes from interfering with kernel_menuconfignbd2007-07-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dynamically enable/disable kernel config options for kmod packages based on ↵nbd2007-07-181-1/+1
| | | | | | build system config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add kernel_oldconfig targetnbd2007-07-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix dependencies for .config, use selections from oldconfig when ↵nbd2007-07-161-6/+6
| | | | | | running menuconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* merge the kernel config parts at dump time, so that overrides that disable ↵nbd2007-06-301-2/+7
| | | | | | certain features work git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prepare for the transition to linux 2.6.22 - make it possible to override ↵nbd2007-06-161-4/+6
| | | | | | the kernel version in the target makefile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* implement quilt handling for the kernel tree ... and there was much rejoicing!nbd2007-06-031-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix pcmcia/pccard build defaultsnbd2007-05-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Improved autorebuild for kernel related stuff.nbd2007-04-181-1/+1
| | | | | | | | | | - 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
* remove reference to unused .kernel.mknbd2007-04-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* trigger a kernel module rebuild when the kernel config changesnbd2007-03-241-4/+1
| | | | 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 ↵nbd2007-03-241-84/+2
| | | | | | to package-defaults.mk) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some cleanups in the metadata.pl script; allow target profiles to add ↵nbd2007-03-231-0/+4
| | | | | | overrides for menuconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nuke mdev and replace it with hotplug2 :)nbd2007-03-041-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix an error in the kernel image related commitnbd2007-03-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel build cleanupnbd2007-03-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP timenbd2007-02-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a small bug in the order of the profile metadata dumpnbd2007-02-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* last commit was missing a change...nbd2007-02-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Reorganize kernel configs - target/linux/*/config is now a directory.nbd2007-02-221-12/+22
| | | | | | | | | | | ./config/default will replace the old config and config-diff (format is like config-diff, the full kernel config is no longer kept in the build system) This commit removes all the kernel config stuff, the next one will add the replacement - there's no way to do this atomically with svn. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6337 3c298f89-4303-0410-b956-a3cf2f4a3e73