diff options
author | BuFran <BuFran@seznam.cz> | 2013-07-06 19:53:23 +0400 |
---|---|---|
committer | Piotr Esden-Tempski <piotr@esden.net> | 2014-01-03 00:50:02 +0400 |
commit | 08e08f5f8401491b35626ec2aa516d8e37665b6b (patch) | |
tree | 5c28dd01e66f6f8411c31714c91f1dcee4e03dec /scripts | |
parent | 30d4540d9e75518e4af777350aa8598c290bd7bf (diff) |
[GENLINK] Edit the documentation to match current version
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/genlink.awk | 22 | ||||
-rw-r--r-- | scripts/genlinktest.sh | 24 |
2 files changed, 43 insertions, 3 deletions
diff --git a/scripts/genlink.awk b/scripts/genlink.awk index 86c3a560..330bf707 100644 --- a/scripts/genlink.awk +++ b/scripts/genlink.awk @@ -1,9 +1,25 @@ -# This program converts chip name to the series of definitions for make of -# automatic linker script. +# This awk program generates parameters for the linker script generator feature. # +# See ld/README file for more info. +# + +# This file is part of the libopencm3 project. +# # Copyright (C) 2013 Frantisek Burian <Bufran@seznam.cz> # Copyright (C) 2013 Werner Almesberger <wpwrak> -# +# +# This library is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this library. If not, see <http://www.gnu.org/licenses/>. BEGIN { PAT = tolower(PAT); diff --git a/scripts/genlinktest.sh b/scripts/genlinktest.sh index cfbebeb0..bb9451f6 100644 --- a/scripts/genlinktest.sh +++ b/scripts/genlinktest.sh @@ -1,5 +1,29 @@ #!/bin/sh +# This script is intended to test the awk program genlink.awk for the linker +# script generator feature. +# +# See ld/README file for more info. +# + +# This file is part of the libopencm3 project. +# +# Copyright (C) 2013 Frantisek Burian <Bufran@seznam.cz> +# Copyright (C) 2013 Werner Almesberger <wpwrak> +# +# This library is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this library. If not, see <http://www.gnu.org/licenses/>. + # run test PAAT=`basename $1`; awk -v PAT="$PAAT" -f scripts/genlink.awk $1.data > $1.out; |