summaryrefslogtreecommitdiffstats
path: root/src/build/tools/addCopyright.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/tools/addCopyright.pl')
-rwxr-xr-xsrc/build/tools/addCopyright.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build/tools/addCopyright.pl b/src/build/tools/addCopyright.pl
index 2d42b379c..8c6e01d3e 100755
--- a/src/build/tools/addCopyright.pl
+++ b/src/build/tools/addCopyright.pl
@@ -8,6 +8,7 @@
#
# Contributors Listed Below - COPYRIGHT 2011,2014
# [+] International Business Machines Corp.
+# [+] Google Inc.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -691,7 +692,8 @@ sub checkCopyrightBlock( $$ )
# remove everything through [+]
$_ =~ s/[^\]]*\]//;
# remove closing comment string depening on language
- if ( filetype($filename) eq "C")
+ if (( filetype($filename) eq "C") ||
+ ( filetype($filename) eq "LinkerScript"))
{
# remove */
$_ =~ s/\*\///;
OpenPOWER on IntegriCloud