summaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/Kconfig2
-rw-r--r--scripts/Makefile2
-rw-r--r--scripts/imx/Kconfig2
-rw-r--r--scripts/imx/Makefile2
-rw-r--r--scripts/mod/Makefile2
-rw-r--r--scripts/tegra/Makefile2
6 files changed, 12 insertions, 0 deletions
diff --git a/scripts/Kconfig b/scripts/Kconfig
index 96b0d26f88..1ec907b5f1 100644
--- a/scripts/Kconfig
+++ b/scripts/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
menu "Host Tools"
config COMPILE_HOST_TOOLS
diff --git a/scripts/Makefile b/scripts/Makefile
index dc5fa75f90..2a17058333 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
###
# scripts contains sources for various helper programs used throughout
# barebox for the build process.
diff --git a/scripts/imx/Kconfig b/scripts/imx/Kconfig
index ef83fa14dd..759f5521a5 100644
--- a/scripts/imx/Kconfig
+++ b/scripts/imx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
config ARCH_IMX_USBLOADER
depends on ARCH_MXS || ARCH_IMX || COMPILE_HOST_TOOLS
bool "imx-usb-loader"
diff --git a/scripts/imx/Makefile b/scripts/imx/Makefile
index a7f487a045..d62277bb54 100644
--- a/scripts/imx/Makefile
+++ b/scripts/imx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
hostprogs-always-$(CONFIG_ARCH_IMX_IMXIMAGE) += imx-image
hostprogs-always-$(CONFIG_ARCH_IMX_USBLOADER) += imx-usb-loader
diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile
index 9926ed08dc..b381877a83 100644
--- a/scripts/mod/Makefile
+++ b/scripts/mod/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
hostprogs-always-y += modpost mk_elfconfig
always-y += empty.o
diff --git a/scripts/tegra/Makefile b/scripts/tegra/Makefile
index dec0b529d6..2c682786b1 100644
--- a/scripts/tegra/Makefile
+++ b/scripts/tegra/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
hostprogs-always-$(CONFIG_ARCH_TEGRA) += cbootimage
HOSTLDLIBS_cbootimage = '-lm'