1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 06:43:43 +02:00
Commit Graph

96 Commits

Author SHA1 Message Date
nbd
0a4b9c0e44 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 14:48:55 +00:00
lars
04e9a33b0f Add kernel_nconfig make target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 21:36:35 +00:00
nbd
7b7e4702ef add a build system option for collecting all kernel debug information (including modules) in a tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 15:18:24 +00:00
nbd
a6dc04e249 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 21:34:50 +00:00
juhosg
a1ab296cfb sort Kconfig symbols automatically to make Kaloz happy :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 13:07:10 +00:00
nbd
ad1ed217dc 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 01:25:06 +00:00
nbd
ba38e05850 add an optional config option for stripping all unnecessary symbol exports from the kernel image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 14:22:04 +00:00
nbd
1e36c4b53e kernel: make sure all patches are applied before running menuconfig or oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 13:08:56 +00:00
nbd
5e8c05ee48 enable quilt by default for the kernel tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:14:00 +00:00
nbd
c66be70996 fix make kernel_menuconfig for subtarget kernel config files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-23 23:45:28 +00:00
nbd
3e8bff3590 rework parallel building to get rid of some warnings
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
2008-08-16 16:59:47 +00:00
nbd
d3874686d9 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 15:28:31 +00:00
nbd
83b31e078f large improvement for parallel builds. works without V=99 now and without 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
2008-06-09 15:38:45 +00:00
nbd
e82a8b4502 fix kernel config on kernel_menuconfig abort
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 15:52:55 +00:00
nbd
5f3aa54122 fixes for refresh/update handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 04:29:11 +00:00
nbd
900c05f6e1 Refactor downloading code into download.mk
Support multiple file downloads
Support svn downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
nbd
244de87d18 properly clean up after kernel_{old,menu}config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 00:14:37 +00:00
nbd
d4ad0a34cf fix kernel_menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 01:04:57 +00:00
nbd
6db7ad74f6 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nbd
17c7b6c3fd 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
nico
24458ad0c5 include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
nbd
12c49b6a6a build system cleanup/restructuring as described in 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
2007-08-07 00:04:25 +00:00
nbd
5ce36cbb20 fix image installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-03 01:21:41 +00:00
nbd
b6843d1a6f silence
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:04:24 +00:00
nbd
196ad55bd2 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
nbd
263c7a7069 more dependency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:41:33 +00:00
nbd
45bf065553 prevent the new config changes from interfering with kernel_menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 12:05:59 +00:00
nbd
bf9b79b200 dynamically enable/disable kernel config options for kmod packages based on build system config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
nbd
3b1d53fc44 add kernel_oldconfig target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 10:03:03 +00:00
nbd
4d9ce4dca0 kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 05:28:13 +00:00
nbd
5ea9a24830 merge the kernel config parts at dump time, so that overrides that disable certain features work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:49:25 +00:00
nbd
e6a68af9e9 prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 01:56:04 +00:00
nbd
597d9811ae implement quilt handling for the kernel tree ... and there was much rejoicing!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 08:28:05 +00:00
nbd
74263c7c57 fix pcmcia/pccard build defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-19 16:16:48 +00:00
nbd
83790f74ad 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:28:38 +00:00
nbd
8ca510f22e remove reference to unused .kernel.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 21:39:30 +00:00
nbd
44e4c1bee3 trigger a kernel module rebuild when the kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 17:05:26 +00:00
nbd
d43a50cb60 move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:54 +00:00
nbd
aff12f542e some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 14:48:47 +00:00
nbd
203cccc4a2 nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
nbd
bc9f96270f fix an error in the kernel image related commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 21:07:53 +00:00
nbd
4dd22e79db kernel build cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 17:24:20 +00:00
nbd
5c528f7a86 fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-23 03:45:46 +00:00
nbd
cce886cc81 fix a small bug in the order of the profile metadata dump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:54:52 +00:00
nbd
77ecf7ab71 last commit was missing a change...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:47:00 +00:00
nbd
c87668dc4f 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:44:15 +00:00
nbd
4f378c0fe5 make kernel_menuconfig work without target toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 17:28:22 +00:00
nbd
cd23d9d0f2 add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 16:59:44 +00:00
nbd
85dc32ec9f 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-04 19:36:11 +00:00
nbd
7082dce3c6 make spca5xx depend on video device support in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:02:01 +00:00