diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-01-03 13:05:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-05 08:58:43 +0100 |
commit | d402089abee3cbf63ef63a9f6c411b3f53107433 (patch) | |
tree | a967f3a4aeecf70aef47d40f20324304b104c6d5 /lib | |
parent | 8c217afbee47c08b3d5ae6d9808adace15f64774 (diff) | |
download | barebox-d402089abee3cbf63ef63a9f6c411b3f53107433.tar.gz |
treewide: add SPDX-License-Identifier for Kbuild/Kconfig
To verify only Kconfig/Makefile is touched:
git show --numstat --format=oneline HEAD | grep -v 'Kconfig\|Makefile'
will print only arch/powerpc/Kbuild.
To verify nothing unexpected is added:
git show -U0 | grep '^-[^-]\|^+[^+]' | sort -u
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220103120539.1730644-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 2 | ||||
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | lib/bootstrap/Kconfig | 2 | ||||
-rw-r--r-- | lib/bootstrap/Makefile | 2 | ||||
-rw-r--r-- | lib/fonts/Kconfig | 2 | ||||
-rw-r--r-- | lib/fonts/Makefile | 2 | ||||
-rw-r--r-- | lib/gui/Kconfig | 2 | ||||
-rw-r--r-- | lib/gui/Makefile | 2 | ||||
-rw-r--r-- | lib/kasan/Kconfig | 2 | ||||
-rw-r--r-- | lib/kasan/Makefile | 1 | ||||
-rw-r--r-- | lib/logo/Kconfig | 2 | ||||
-rw-r--r-- | lib/logo/Makefile | 1 | ||||
-rw-r--r-- | lib/lz4/Makefile | 2 | ||||
-rw-r--r-- | lib/lzo/Kconfig | 2 | ||||
-rw-r--r-- | lib/lzo/Makefile | 2 | ||||
-rw-r--r-- | lib/math/Makefile | 2 | ||||
-rw-r--r-- | lib/reed_solomon/Makefile | 2 | ||||
-rw-r--r-- | lib/xz/Makefile | 2 | ||||
-rw-r--r-- | lib/zlib_inflate/Makefile | 2 | ||||
-rw-r--r-- | lib/zstd/Makefile | 2 |
20 files changed, 38 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 915ae7a287..a0f28b935c 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + menu "Library routines" config PARAMETER bool diff --git a/lib/Makefile b/lib/Makefile index 9b37d847e0..3f6653d74e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += bcd.o obj-$(CONFIG_BOOTSTRAP) += bootstrap/ obj-pbl-y += ctype.o diff --git a/lib/bootstrap/Kconfig b/lib/bootstrap/Kconfig index 645f0b4b78..5cd6035bee 100644 --- a/lib/bootstrap/Kconfig +++ b/lib/bootstrap/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + menuconfig BOOTSTRAP bool "Library bootstrap routines" depends on SHELL_NONE diff --git a/lib/bootstrap/Makefile b/lib/bootstrap/Makefile index cbaa49f9d9..295d63e074 100644 --- a/lib/bootstrap/Makefile +++ b/lib/bootstrap/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += common.o obj-$(CONFIG_BOOTSTRAP_DEVFS) += devfs.o obj-$(CONFIG_BOOTSTRAP_DISK) += disk.o diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig index e1a736d137..3201364cae 100644 --- a/lib/fonts/Kconfig +++ b/lib/fonts/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + # # Font configuration # diff --git a/lib/fonts/Makefile b/lib/fonts/Makefile index 394e2c5e4c..1eae8ee67b 100644 --- a/lib/fonts/Makefile +++ b/lib/fonts/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + # Font handling font-objs := fonts.o diff --git a/lib/gui/Kconfig b/lib/gui/Kconfig index 2625d9fb2f..d102604335 100644 --- a/lib/gui/Kconfig +++ b/lib/gui/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + menu "Library gui routines" config IMAGE_RENDERER diff --git a/lib/gui/Makefile b/lib/gui/Makefile index 31e66225d7..59caa8fbeb 100644 --- a/lib/gui/Makefile +++ b/lib/gui/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_BMP) += bmp.o obj-$(CONFIG_IMAGE_RENDERER) += image_renderer.o graphic_utils.o obj-$(CONFIG_PNG) += png.o diff --git a/lib/kasan/Kconfig b/lib/kasan/Kconfig index 7a18cf95be..46fc4f263b 100644 --- a/lib/kasan/Kconfig +++ b/lib/kasan/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + source "scripts/Kconfig.include" config HAVE_ARCH_KASAN diff --git a/lib/kasan/Makefile b/lib/kasan/Makefile index 31e9d890d5..e3f4bb61f9 100644 --- a/lib/kasan/Makefile +++ b/lib/kasan/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only obj-y += generic_report.o generic.o report.o common.o test_kasan.o KASAN_SANITIZE_generic_report.o := n diff --git a/lib/logo/Kconfig b/lib/logo/Kconfig index 7d55f7fa27..56ec76afb6 100644 --- a/lib/logo/Kconfig +++ b/lib/logo/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + menuconfig BAREBOX_LOGO bool "include barebox logos in build" help diff --git a/lib/logo/Makefile b/lib/logo/Makefile index f08beef76b..3e36cf911f 100644 --- a/lib/logo/Makefile +++ b/lib/logo/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only OPTS_barebox-logo-w64.bblogo = -resize 64 bblogo-$(CONFIG_BAREBOX_LOGO_64) += barebox-logo-w64 diff --git a/lib/lz4/Makefile b/lib/lz4/Makefile index 7f548c6d1c..7156ec9145 100644 --- a/lib/lz4/Makefile +++ b/lib/lz4/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o diff --git a/lib/lzo/Kconfig b/lib/lzo/Kconfig index 17b0083236..2ead1321e8 100644 --- a/lib/lzo/Kconfig +++ b/lib/lzo/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + config LZO_DECOMPRESS bool "include lzo uncompression support" select UNCOMPRESS diff --git a/lib/lzo/Makefile b/lib/lzo/Makefile index 0e576a1c10..4ab28ff6f5 100644 --- a/lib/lzo/Makefile +++ b/lib/lzo/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_LZO_DECOMPRESS) += lzo1x_decompress_safe.o diff --git a/lib/math/Makefile b/lib/math/Makefile index 756d7dd90d..2830dedb2f 100644 --- a/lib/math/Makefile +++ b/lib/math/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += div64.o pbl-y += div64.o obj-y += rational.o diff --git a/lib/reed_solomon/Makefile b/lib/reed_solomon/Makefile index c3d7136827..f7475981b9 100644 --- a/lib/reed_solomon/Makefile +++ b/lib/reed_solomon/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + # # This is a modified version of reed solomon lib, # diff --git a/lib/xz/Makefile b/lib/xz/Makefile index 86ba550733..23581d2d8c 100644 --- a/lib/xz/Makefile +++ b/lib/xz/Makefile @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_XZ_DECOMPRESS) += xz_crc32.o xz_dec_bcj.o obj-$(CONFIG_XZ_DECOMPRESS) += xz_dec_lzma2.o xz_dec_stream.o diff --git a/lib/zlib_inflate/Makefile b/lib/zlib_inflate/Makefile index 8e95fcd3c9..bfe12b0d6e 100644 --- a/lib/zlib_inflate/Makefile +++ b/lib/zlib_inflate/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + # # This is a modified version of zlib, which does all memory # allocation ahead of time. diff --git a/lib/zstd/Makefile b/lib/zstd/Makefile index 0c4f56c50c..4e8689a485 100644 --- a/lib/zstd/Makefile +++ b/lib/zstd/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o ccflags-y += -O3 |