Commit Graph

71 Commits (7fb394b9ab8e45c85202fc211ee9cabc0f4540c7)

Author SHA1 Message Date
Jo-Philipp Wich 5171edd8d5 kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case
SVN-Revision: 28361
13 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
13 years ago
Lars-Peter Clausen a97d6b0c95 Add kernel_nconfig make target
SVN-Revision: 22518
14 years ago
Felix Fietkau fd8142403e add a build system option for collecting all kernel debug information (including modules) in a tarball
SVN-Revision: 22327
14 years ago
Felix Fietkau 8e808a54c2 Revert "sort Kconfig symbols automatically to make Kaloz happy :p" 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
SVN-Revision: 19675
14 years ago
Gabor Juhos 03779da9c6 sort Kconfig symbols automatically to make Kaloz happy :p
SVN-Revision: 19582
14 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 bb5a40c64b add an optional config option for stripping all unnecessary symbol exports from the kernel image
SVN-Revision: 17181
15 years ago
Felix Fietkau 6d782f93d8 kernel: make sure all patches are applied before running menuconfig or oldconfig
SVN-Revision: 15325
15 years ago
Felix Fietkau ab8c8b019f enable quilt by default for the kernel tree
SVN-Revision: 12400
16 years ago
Felix Fietkau 811b00f646 fix make kernel_menuconfig for subtarget kernel config files
SVN-Revision: 12376
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 d26fa58d25 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
16 years ago
Felix Fietkau 4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
16 years ago
Felix Fietkau 02bc11903e fix kernel config on kernel_menuconfig abort
SVN-Revision: 11076
16 years ago
Felix Fietkau e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
17 years ago
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
17 years ago
Felix Fietkau 986445a623 properly clean up after kernel_{old,menu}config
SVN-Revision: 8737
17 years ago
Felix Fietkau 01b6a90e3d fix kernel_menuconfig
SVN-Revision: 8726
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 56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (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
17 years ago
Nicolas Thill b35e6fe3ba include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
SVN-Revision: 8494
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
17 years ago
Felix Fietkau d6666fdd40 fix image installation
SVN-Revision: 8324
17 years ago
Felix Fietkau 40c1241377 silence
SVN-Revision: 8252
17 years ago
Felix Fietkau d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
17 years ago
Felix Fietkau 35d116c85b more dependency fixes
SVN-Revision: 8115
17 years ago
Felix Fietkau 7031534325 prevent the new config changes from interfering with kernel_menuconfig
SVN-Revision: 8031
17 years ago
Felix Fietkau 8e42553971 dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
17 years ago
Felix Fietkau 6178152ee8 add kernel_oldconfig target
SVN-Revision: 8003
17 years ago
Felix Fietkau 0806675217 kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig
SVN-Revision: 7997
17 years ago
Felix Fietkau 5fe0203420 merge the kernel config parts at dump time, so that overrides that disable certain features work
SVN-Revision: 7812
17 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
17 years ago
Felix Fietkau 3b6b7a2d1b implement quilt handling for the kernel tree ... and there was much rejoicing!
SVN-Revision: 7474
17 years ago
Felix Fietkau 84b235140c fix pcmcia/pccard build defaults
SVN-Revision: 7275
17 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
17 years ago
Felix Fietkau bbe7bd4f29 remove reference to unused .kernel.mk
SVN-Revision: 6959
17 years ago
Felix Fietkau 35317253e6 trigger a kernel module rebuild when the kernel config changes
SVN-Revision: 6671
17 years ago
Felix Fietkau ea952312ae move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
SVN-Revision: 6664
17 years ago
Felix Fietkau b04ef81416 some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
SVN-Revision: 6648
17 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
17 years ago
Felix Fietkau fa859ea32a fix an error in the kernel image related commit
SVN-Revision: 6467
17 years ago
Felix Fietkau 91e5dba2c7 kernel build cleanup
SVN-Revision: 6464
17 years ago
Felix Fietkau 129d173a2a fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
SVN-Revision: 6346
17 years ago
Felix Fietkau 1a6e4acabc fix a small bug in the order of the profile metadata dump
SVN-Revision: 6340
17 years ago
Felix Fietkau db45ee6bd6 last commit was missing a change...
SVN-Revision: 6339
17 years ago
Felix Fietkau e78fb96964 Reorganize kernel configs - target/linux/*/config is now a directory. ./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.
SVN-Revision: 6337
17 years ago
Felix Fietkau 509bb267a3 make kernel_menuconfig work without target toolchain
SVN-Revision: 6312
18 years ago
Felix Fietkau 8afbc2d617 add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
SVN-Revision: 6310
18 years ago
Felix Fietkau 6a50014b62 Minor kernel build changes: Change '[ -d ... ] && cmd' to 'if [ -d ... ]; then cmd; fi' to avoid make errors if the condition is false If $(PLATFORM_DIR)/files exists, copy it into the kernel tree on prepare.
SVN-Revision: 6263
18 years ago