aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-03-07 19:32:28 -0500
committerKevin O'Connor <kevin@koconnor.net>2024-03-13 21:52:39 -0400
commit09a78c31bbb3d6959276e50283a700aafe6b9000 (patch)
treeefd93979fde829f47d2c5bece2af1082dafc9168
parent0291a1554cb7bb8c74db15591150aa7958905df5 (diff)
downloadkutter-09a78c31bbb3d6959276e50283a700aafe6b9000.tar.gz
kutter-09a78c31bbb3d6959276e50283a700aafe6b9000.tar.xz
kutter-09a78c31bbb3d6959276e50283a700aafe6b9000.zip
buildcommands: Add Klipper app name and license to mcu data dictionary
Add the Klipper name and license to the mcu data dictionary so that it can be found in the flash. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--scripts/buildcommands.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/buildcommands.py b/scripts/buildcommands.py
index 2acf3e84..236373c2 100644
--- a/scripts/buildcommands.py
+++ b/scripts/buildcommands.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python2
# Script to handle build time requests embedded in C code.
#
-# Copyright (C) 2016-2021 Kevin O'Connor <kevin@koconnor.net>
+# Copyright (C) 2016-2024 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import sys, os, subprocess, optparse, logging, shlex, socket, time, traceback
@@ -518,6 +518,8 @@ class HandleVersions:
def update_data_dictionary(self, data):
data['version'] = self.version
data['build_versions'] = self.toolstr
+ data['app'] = 'Klipper'
+ data['license'] = 'GNU GPLv3'
def generate_code(self, options):
cleanbuild, self.toolstr = tool_versions(options.tools)
self.version = build_version(options.extra, cleanbuild)