| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This reverts r48591, users needing NFS root will know how to configure
their platform and kernel command-line appropriately.
Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 48689
|
|
|
|
|
|
|
|
|
| |
It was enabled ages ago when it was added.
It still saves about 10k after LZMA, so let's enable it again.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48680
|
|
|
|
|
|
|
|
|
| |
Replace the configured root device with a NFS root device and automatic
IP configuration for booting over NFS.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 48591
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These allow the generated kernel's build metadata to be defined explicitly.
This metadata is reported, eg, at boot time and in `uname -a` on running
systems. If the variables aren't configured, the current build system username
and hostname are used as normal.
The motivation for this option is to achive reproducible (bit-for-bit
identical) kernel builds of official openwrt releases.
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48541
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48145
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds support for specifying a build ID for kernel modules.
This is done by setting PKG_BUILD_ID to a hexadecimal string, which will
then be passed to the kernel linker. In addition, when this flag is set,
the build ID debug symbol (.note.gnu.build-id) will not be stripped from
the kernel module. This symbol is exported in sysfs by the kernel (if
the kernel is compiled with CONFIG_KALLSYMS) and so can be used to
uniquely identify a version of a kernel module in a running kernel. This
is useful for keeping track of different versions of a module when doing
experiments and development.
Modules that specify the build ID will be ~100 bytes larger (depending
on the length of the build ID specified). There is no size difference
for kernel modules that do not set this variable.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 47290
|
|
|
|
|
|
| |
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45212
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44965
|
|
|
|
|
|
| |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44189
|
|
|
|
|
|
|
|
| |
make command line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43619
|
|
|
|
|
|
|
|
| |
the kernel build command line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42781
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise the modpost steps for individual modules that are compiled
manually (using make package/<name_of_module>/install) will give warning
of missing symbols when that module depends other modules.
This is caused by the Module.symvers file not containing any symbols
anymore of external modules when the initramfs image is built without
specifically giving the modules target.
Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>
SVN-Revision: 42773
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41792
|
|
|
|
|
|
|
|
|
| |
This allows the selection of a specific branch in the menuconfig
when using a kernel downloaded from GIT.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40946
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The way git options are managed in kernel-defaults.mk makes additions
difficult. If requires different code path for each option; it's
ok so far as we handle only one option, but if we want to make the git
clone mechanism more flexible, more option will be required, which
will become tedious.
So; we'll move the GIT options into a variable, that may or may not be
set depending on the configuration, and we'll pass this variable to the
git command.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GIT_LOCAL_REPOSITORY option adds the --reference argument to the
git clone kernel command line, if KERNEL_GIT_CLONE_URI is set.
This option is intended to speed-up the repo creation by using local
objets rather than downloading it. However, a local repo can be cloned
much faster by setting GIT_LOCAL_REPOSITORY directly to the local tree.
In that case, git clone will bypass the normal "git aware" transport
mechanism and clone the repository by copying and hardlinking objects
rather than downloading it, resulting in a significant speed increase.
That makes the GIT_LOCAL_REPOSITORY option pretty useless so we'll just
remove it and recommand the usage of KERNEL_GIT_CLONE_URI directly.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40944
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
the above option will be enabled
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40490
|
|
|
|
|
|
|
|
| |
variable and move TAR_OPTIONS to unpack.mk"
This complicates the evaluation order for some packages
SVN-Revision: 40006
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40002
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39424
|
|
|
|
|
|
| |
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39208
|
|
|
|
|
|
|
|
|
|
| |
Kernel 3.12 now offers LZ4 compression which will make initramfs builds
fail because we do not know how to substitute the relevant config
symbols, fix that.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 38533
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37518
|
|
|
|
|
|
| |
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37128
|
|
|
|
|
|
|
|
|
| |
Make sure that the kernel rebuilds the initramfs cpio archive file by
deleting it before so we get it re-generated properly.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37125
|
|
|
|
|
|
|
|
|
| |
Do not attempt to copy arch/$(LINUX_KARCH)/boot/dtbs because these are
not real files, fixes #13785.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37107
|
|
|
|
|
|
|
|
|
|
| |
In order to support building both normal and initramfs kernel, we will
rebuild the wrappers around the vmlinux ELF binary, copy these with an
appropriate extension when they exist.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37048
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
GNU Make's subst is always breaking syntax highlighting with at least
vim add the right comments to workaround it.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37046
|
|
|
|
|
|
| |
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35180
|
|
|
|
| |
SVN-Revision: 34228
|
|
|
|
|
|
|
|
| |
While at it, reindent so it is more in-line with the rest of the file.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34034
|
|
|
|
| |
SVN-Revision: 34014
|
|
|
|
| |
SVN-Revision: 33421
|
|
|
|
|
|
| |
scripts", the kernel build system has proper dependencies
SVN-Revision: 33420
|
|
|
|
|
|
| |
build on mac os x
SVN-Revision: 32783
|
|
|
|
| |
SVN-Revision: 32423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
SVN-Revision: 31598
|
|
|
|
|
|
|
|
| |
[juhosg: export xt_layer7.h for all kernel versions]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31566
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
SVN-Revision: 31484
|
|
|
|
|
|
| |
append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99
SVN-Revision: 31466
|
|
|
|
|
|
|
|
| |
Allow building image with an external cpio
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31204
|
|
|
|
|
|
| |
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.
SVN-Revision: 29686
|
|
|
|
|
|
| |
host include dir, fixes x86 builds on non-gnu systems
SVN-Revision: 27346
|
|
|
|
|
|
|
| |
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env
SVN-Revision: 26498
|
|
|
|
| |
SVN-Revision: 25928
|
|
|
|
| |
SVN-Revision: 25138
|
|
|
|
| |
SVN-Revision: 25080
|
|
|
|
| |
SVN-Revision: 23919
|