1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:37:10 +02:00
Commit Graph

56 Commits

Author SHA1 Message Date
florian
df1670948d build: allow KERNELNAME to contain multiple kernel make targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 13:20:50 +00:00
juhosg
b914240da3 include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
This fixes the following errors:

  CALL    arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 12:48:35 +00:00
juhosg
9d3fb21d4a Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
nbd
87e474d1bb build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:53:56 +00:00
mirko
3c23ada271 [include/kernel-defaults.mk] enable verbose output of kernel build if V=99 is passed
append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 12:42:57 +00:00
blogic
1b760ca1fc [image] define external cpio
Allow building image with an external cpio

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 14:33:04 +00:00
jow
6483a9f739 include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version.
The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom 
*.ko files, e.g. for development purpose, is still possible.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:23:11 +00:00
nbd
923ecf7916 add a portable version of sys/sysmacros.h and and let the kernel use the 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
2011-07-02 06:49:56 +00:00
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
kaloz
c0b7eece82 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
kaloz
0a8698549c fixup board specific KERNELNAME overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 12:21:10 +00:00
kaloz
d544567329 2.6.38 supports xz ramdisks, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 06:41:11 +00:00
florian
3ca8fd6798 [buildroot] make targets provide their KERNELNAME
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-08 07:31:25 +00:00
nbd
7ec88f88f4 remove linux 2.4 specific build system code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:38 +00:00
acoul
4dcaf45c4d finalize lzma/jffs2 support (currently not enebled by default, for kernels >=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
2010-04-13 14:07:22 +00:00
kaloz
e57137a613 make lzo compressed initramfs selectable, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-21 15:20:11 +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
7131b95c8c automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 01:25:02 +00:00
juhosg
0ee891fb2b add menuconfig option for enabling debugfs support in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 07:25:20 +00:00
juhosg
9d40adf198 add menuconfig option for selecting initramfs compression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-16 05:35:34 +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
kaloz
7943fcac9d 2.6.30 supports different initramfs compressors, take care of them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-29 20:53:38 +00:00
florian
a9737455cb [kernel] also strip the .notes section of the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:37:58 +00:00
nbd
6af9d6e28b move the EABI config override to the generic kernel config overrides, as 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
2009-02-21 16:26:27 +00:00
nbd
d927107601 kernel: add missing definition for CONFIG_KALLSYMS_ALL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 14:10:44 +00:00
nbd
db92b585b6 strip the .note.gnu.build-id section from kernel images, which on some 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
2009-02-02 16:39:28 +00:00
lars
2edc1eaf4b Add menuconfig option for enabling profiling in the kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 23:52:35 +00:00
nbd
6d9af11c8c add a menuconfig option for enabling KALLSYMS for the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 21:09:04 +00:00
kaloz
43e9cfe99d use the default kernel target on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 09:51:36 +00:00
hcg
de8d66a294 Adds support for using a local clone of a git tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10 10:07:45 +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
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
c4b8e2f0b8 spurious initramfs breakage fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05 22:11:22 +00:00
agb
a42d3285cb Disabling use of libintl in kconfig.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 22:21:56 +00:00
ejka
43440b4f1b add external kernel tree support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 13:21:01 +00:00
nbd
d895ddd832 fix the image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-14 23:11:07 +00:00
nbd
957fd804f1 Allow targets to specify extra initramfs source files
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
2007-10-23 06:23:29 +00:00
nbd
63aabec89b Use current UID for initramfs root user:group
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
2007-10-23 06:23:26 +00:00
nbd
2e05912189 don't specify "CC=<nothing>" on kernel build command line
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
2007-10-23 06:23:23 +00:00
nbd
8ba85e3dc1 move a stampfile to make it easier to override the patch template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:39:57 +00:00
nico
b067927744 remove (unused?) linux symlink in BUILD_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 16:28:50 +00:00
nbd
076aaa3fda add support for device type based package preselections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 21:30:25 +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
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
a00f469ee2 remove CONFIG_JLEVEL. use make -j in the future
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:24:47 +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
816768237c fix the tar invocation in kernel build (#1935)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-21 15:50:01 +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
kaloz
ac52e3bd03 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +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