From adceb818e316adb8626c65b7a3b8071b2e61a9a0 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 28 Feb 2026 16:40:59 -0500 Subject: docs: Added SPDX-License-Identifiers to files --- CMakeLists.txt | 5 +++++ Kconfig | 5 +++++ cmake/Kconfig.cmake | 5 +++++ cmake/TC-clang.cmake | 5 +++++ cmake/TC-gcc11.cmake | 5 +++++ cmake/TC-gcc15.cmake | 5 +++++ source/test.c | 6 ++++++ tools/make-cmake-config | 5 +++++ 8 files changed, 41 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ebefb7d..554551c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# ######################################################################################################################## # General Configuration ######################################################################################################################## diff --git a/Kconfig b/Kconfig index 2c34b88..b531803 100644 --- a/Kconfig +++ b/Kconfig @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# mainmenu "Example Configuration" config USE_TOOLCHAIN_FILE diff --git a/cmake/Kconfig.cmake b/cmake/Kconfig.cmake index 580867b..8c30c0c 100644 --- a/cmake/Kconfig.cmake +++ b/cmake/Kconfig.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# if(__CMAKE_KCONFIG_CMAKE__) return() endif() diff --git a/cmake/TC-clang.cmake b/cmake/TC-clang.cmake index 992011f..cf5a03a 100644 --- a/cmake/TC-clang.cmake +++ b/cmake/TC-clang.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR amd64) diff --git a/cmake/TC-gcc11.cmake b/cmake/TC-gcc11.cmake index a60e63a..cade3f0 100644 --- a/cmake/TC-gcc11.cmake +++ b/cmake/TC-gcc11.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# set(CMAKE_SYSTEM_NAME MacOS) set(CMAKE_SYSTEM_PROCESSOR arm64) diff --git a/cmake/TC-gcc15.cmake b/cmake/TC-gcc15.cmake index 43a1a34..4a95fd8 100644 --- a/cmake/TC-gcc15.cmake +++ b/cmake/TC-gcc15.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# set(CMAKE_SYSTEM_NAME MacOS) set(CMAKE_SYSTEM_PROCESSOR arm64) diff --git a/source/test.c b/source/test.c index eac9f91..d293a62 100644 --- a/source/test.c +++ b/source/test.c @@ -1,3 +1,9 @@ +// +// Copyright (c) 2026 Jacob McDonnell +// +// SPDX-License-Identifier: MIT +// + #include #include "generated.h" diff --git a/tools/make-cmake-config b/tools/make-cmake-config index 0444767..6a6ddaa 100755 --- a/tools/make-cmake-config +++ b/tools/make-cmake-config @@ -1,3 +1,8 @@ #!/usr/bin/env bash +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# cat $1 | gawk '{print gensub(/(.*)=(.*)/, "set(\\1 \\2)", 1)}' > "$(dirname $1)/$(basename -s .make $1).cmake" -- cgit v1.2.3