summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-01-03 13:05:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-05 08:58:43 +0100
commitd402089abee3cbf63ef63a9f6c411b3f53107433 (patch)
treea967f3a4aeecf70aef47d40f20324304b104c6d5 /arch/sandbox
parent8c217afbee47c08b3d5ae6d9808adace15f64774 (diff)
downloadbarebox-d402089abee3cbf63ef63a9f6c411b3f53107433.tar.gz
barebox-d402089abee3cbf63ef63a9f6c411b3f53107433.tar.xz
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 'arch/sandbox')
-rw-r--r--arch/sandbox/Kconfig2
-rw-r--r--arch/sandbox/Makefile2
-rw-r--r--arch/sandbox/board/Makefile2
-rw-r--r--arch/sandbox/dts/Makefile2
-rw-r--r--arch/sandbox/lib/Makefile2
-rw-r--r--arch/sandbox/os/Makefile2
6 files changed, 12 insertions, 0 deletions
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 01078bca97..a8bca8757f 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
source "scripts/Kconfig.include"
config SANDBOX
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 5fc7e227be..2cf51fa349 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
KBUILD_DEFCONFIG := sandbox_defconfig
KBUILD_CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing -fvisibility=hidden
diff --git a/arch/sandbox/board/Makefile b/arch/sandbox/board/Makefile
index ed01cb9c3e..11688c5aba 100644
--- a/arch/sandbox/board/Makefile
+++ b/arch/sandbox/board/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
obj-y += board.o
obj-y += clock.o
obj-y += hostfile.o
diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/dts/Makefile
index c8d83141ce..9af91cb72c 100644
--- a/arch/sandbox/dts/Makefile
+++ b/arch/sandbox/dts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
obj-$(CONFIG_OFTREE) += \
sandbox.dtb.o
diff --git a/arch/sandbox/lib/Makefile b/arch/sandbox/lib/Makefile
index b32ca6aaf8..9535305d5b 100644
--- a/arch/sandbox/lib/Makefile
+++ b/arch/sandbox/lib/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
obj-$(CONFIG_ARCH_HAS_STACK_DUMP) += unwind.o
diff --git a/arch/sandbox/os/Makefile b/arch/sandbox/os/Makefile
index 5d0c938ce6..ebcbe5833b 100644
--- a/arch/sandbox/os/Makefile
+++ b/arch/sandbox/os/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
machine-y := sandbox
machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y))