aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/linker_script.py
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.ru>2022-02-10 16:46:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:57 +0300
commit28148f76dbfcc644d96427d41c92f36cbf2fdc6e (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /build/plugins/linker_script.py
parente988f30484abe5fdeedcc7a5d3c226c01a21800c (diff)
downloadydb-28148f76dbfcc644d96427d41c92f36cbf2fdc6e.tar.gz
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/linker_script.py')
-rw-r--r--build/plugins/linker_script.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/build/plugins/linker_script.py b/build/plugins/linker_script.py
index 81e263ed5fe..bee9777a4e9 100644
--- a/build/plugins/linker_script.py
+++ b/build/plugins/linker_script.py
@@ -1,12 +1,12 @@
-def onlinker_script(unit, *args):
- """
- @usage: LINKER_SCRIPT(Files...)
-
- Specify files to be used as a linker script
- """
- for arg in args:
- if not arg.endswith(".ld") and not arg.endswith(".ld.in"):
- unit.message(['error', "Invalid linker script extension: {}".format(arg)])
- return
-
- unit.onglobal_srcs(list(args))
+def onlinker_script(unit, *args):
+ """
+ @usage: LINKER_SCRIPT(Files...)
+
+ Specify files to be used as a linker script
+ """
+ for arg in args:
+ if not arg.endswith(".ld") and not arg.endswith(".ld.in"):
+ unit.message(['error', "Invalid linker script extension: {}".format(arg)])
+ return
+
+ unit.onglobal_srcs(list(args))