25 Mar, 2020
1 commit
-
Add SPDX License Identifier to all .gitignore files.
Signed-off-by: Masahiro Yamada
Signed-off-by: Greg Kroah-Hartman
04 Feb, 2020
1 commit
-
In old days, the "host-progs" syntax was used for specifying host
programs. It was renamed to the current "hostprogs-y" in 2004.It is typically useful in scripts/Makefile because it allows Kbuild to
selectively compile host programs based on the kernel configuration.This commit renames like follows:
always -> always-y
hostprogs-y -> hostprogsSo, scripts/Makefile will look like this:
always-$(CONFIG_BUILD_BIN2C) += ...
always-$(CONFIG_KALLSYMS) += ...
...
hostprogs := $(always-y) $(always-m)I think this makes more sense because a host program is always a host
program, irrespective of the kernel configuration. We want to specify
which ones to compile by CONFIG options, so always-y will be handier.The "always", "hostprogs-y", "hostprogs-m" will be kept for backward
compatibility for a while.Signed-off-by: Masahiro Yamada
24 May, 2019
1 commit
-
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license as published by
the free software foundation either version 2 of the license or at
your option any later version this program is distributed in the
hope that it will be useful but without any warranty without even
the implied warranty of merchantability or fitness for a particular
purpose see the gnu general public license for more details you
should have received a copy of the gnu general public license along
with this program if not write to the free software foundation inc
675 mass ave cambridge ma 02139 usaextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-or-later
has been chosen to replace the boilerplate/reference in 441 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Michael Ellerman (powerpc)
Reviewed-by: Richard Fontana
Reviewed-by: Allison Randal
Reviewed-by: Kate Stewart
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190520071858.739733335@linutronix.de
Signed-off-by: Greg Kroah-Hartman
02 Nov, 2017
1 commit
-
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.By default all files without license information are under the default
license of the kernel, which is GPL version 2.Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if
Reviewed-by: Philippe Ombredanne
Reviewed-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
05 Aug, 2014
1 commit
-
This patches adds an "install" target to install kernel builds for SPARC,
modeled after the i386 script.Signed-off-by: David L Stevens
Signed-off-by: David S. Miller
04 Dec, 2012
1 commit
-
Newer versions of binutils mark '_end' as 'B' instead of 'A' for
whatever reason.To be honest, the piggyback code doesn't actually care what kind
of symbol _start and _end are, it just wants to find them and
record the address.So remove the type from the match strings.
Reported-by: Aaro Koskinen
Signed-off-by: David S. Miller
15 May, 2012
1 commit
-
Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller
26 Mar, 2012
1 commit
-
All ARCHs have the same definition of MKIMAGE. Move it to Makefile.lib
to avoid duplication.All ARCHs have similar definitions of cmd_uimage. Place a sufficiently
parameterized version in Makefile.lib to avoid duplication.Signed-off-by: Stephen Warren
Acked-by: Nicolas Pitre
Tested-by: Mike Frysinger [Blackfin]
Tested-by: Michal Simek [Microblaze]
Tested-by: Guan Xuetao [unicore32]
Signed-off-by: Michal Marek
17 Mar, 2011
1 commit
-
This is only for LEON as u-boot for SPARC only supports LEON.
Signed-off-by: Daniel Hellstrom
Acked-by: Sam Ravnborg
Signed-off-by: David S. Miller
05 Jan, 2011
9 commits
-
Update copyright info in piggyback.c to include
info from piggyback_64.c.
Include my own copyright too.Signed-off-by: Sam Ravnborg
Cc: Josip Rodin
Cc: Jakub Jelinek
Signed-off-by: David S. Miller -
Include an additional "Kernel is ready" print for zImage
Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
Now that we use the same piggyback for 32 and 64 bit
we can drop the _32 suffix.
Include some trivial unification in the Makefile
now that 32 and 64 bit can share the same piggyback command.Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
piggyback_32 adapted to support sparc64:
- locating "HdrS" differs for sparc and sparc64
- sparc64 updates a_text, a_data + a_bss in the final a.out headerUpdated Makefile to use piggyback_32 for sparc64.
Deleted the now unused piggyback_64.cpiggyback_32.c is host endian neutral and works on both
little-endian and big-endian hosts.
This fixes a long standing bug where sparc64 could not
generate tftpboot.img on a x86 host.Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
Add new option to piggyback that identify if this is
for 32 or 64 bit.
Use this information to determine the alignment used.Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
As we always convert to a.out there is no need to
support ELF.Removing ELF support because:
- it is not used
- it simplifies code to support a.out onlySigned-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
While reverse engineering the functionality of piggyback
I missed that the code was actually commented.
So I added a few comments.Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
We use "_start" in 64 bit - do the same in 32 bit.
It is always good to be consistent.Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
Refactoring to increase readability (a little).
- sort includes
- spaces around operators
- small helpers introduced
- added a few commentsSigned-off-by: Sam Ravnborg
Signed-off-by: David S. Miller
17 Jun, 2010
2 commits
-
Signed-off-by: Uwe Kleine-König
Signed-off-by: Jiri Kosina
03 Mar, 2010
1 commit
-
Signed-off-by: Denys Vlasenko
Signed-off-by: Michal Marek
16 Nov, 2009
1 commit
-
Signed-off-by: Josh Triplett
17 Aug, 2009
1 commit
-
Besides creating the uncompressed vmlinux image for sparc64, also
create a compressed zImage. This is more consistent with other
architectures and required to make the 'deb-pkg' target work.Signed-off-by: Jurij Smakov
Signed-off-by: Frans Pop
Signed-off-by: David S. Miller
26 Jun, 2009
5 commits
-
The tftpboot build was failing with missing file errors.
It turns out that $(obj)/image wasn't being generated which was causing the a.out conversion to be skipped and hence piggyback to be called with nonexistent files.
Signed-off-by: Julian Calaby
Signed-off-by: David S. Miller -
Signed-off-by: Julian Calaby
Signed-off-by: David S. Miller -
Kjetil Oftedal mentioned that piggyback_32 was failing
when building a sparc image.I tracked this down to the fact that the kernel no longer
provided an absolute symbol named "end".Commit 86ed40bd6fe511d26bb8f3fa65a84cb65c235366 ("sparc: unify sections.h")
renamed end to _end but failed to update piggyback_32.Signed-off-by: Sam Ravnborg
Cc: Kjetil Oftedal
Cc: Robert Reif
Signed-off-by: Julian Calaby
Signed-off-by: David S. Miller -
Signed-off-by: Robert Reif
Signed-off-by: David S. Miller -
This patch fixes the following build warnings:
arch/sparc/boot/piggyback_64.c: In function 'main':
arch/sparc/boot/piggyback_64.c:44: warning: 'end' may be used uninitialized in this function
arch/sparc/boot/piggyback_64.c:44: warning: 'start' may be used uninitialized in this functionSigned-off-by: Julian Calaby
Signed-off-by: David S. Miller
05 Dec, 2008
4 commits
-
Simple unification:
o renamed piggyback to *_32.c/*_64.c
o copied content of Makefile from sparc64 to sparc and guard it
o updated sparc/boot/.gitignore
o deleted remaining files in sparc64/bootSigned-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
With this 'git status' no longer reports any new files
At least not for a sparc allnoconfig buildSigned-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
Leave all cleaning to boot/Makefile
and delete zImage too when we do a 'make clean'Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller -
The btfixup step needs knowledge of all the .o files,
but there is no need to pass them in independent variables.
Simplify it to use only two variables.Signed-off-by: Sam Ravnborg
Signed-off-by: David S. Miller
25 Aug, 2008
1 commit
-
Add a target for a stripped kernel. This is used for the various
packaging targets (*-pkg).Signed-off-by: Martin Habets
Signed-off-by: David S. Miller
20 May, 2008
1 commit
-
This patch removes the CVS keywords that weren't updated for a long time
from comments.Signed-off-by: Adrian Bunk
Signed-off-by: David S. Miller
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!