diff --git a/tools/Config.mk b/tools/Config.mk index be66d8bef2d..2a45f5b0e6b 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -1,5 +1,5 @@ ############################################################################ -# Config.mk +# tools/Config.mk # Global build rules and macros. # # Copyright (C) 2011, 2013-2014, 2018-2019 Gregory Nutt. All rights diff --git a/tools/Makefile.export b/tools/Makefile.export index 56f30c6b7fe..25db2263cd5 100644 --- a/tools/Makefile.export +++ b/tools/Makefile.export @@ -1,5 +1,5 @@ ############################################################################ -# Makefile.export +# tools/Makefile.export # # Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/tools/Makefile.host b/tools/Makefile.host index 87560adacb6..07ebe9ea3b5 100644 --- a/tools/Makefile.host +++ b/tools/Makefile.host @@ -1,5 +1,5 @@ ############################################################################ -# Makefile.host +# tools/Makefile.host # # Copyright (C) 2007, 2008, 2011-2012, 2015, 2017-2018 Gregory Nutt. All # rights reserved. diff --git a/tools/checkpatch.sh b/tools/checkpatch.sh index e65f15bcb87..574b9d757ae 100755 --- a/tools/checkpatch.sh +++ b/tools/checkpatch.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# tools/checkpatch.sh # # Copyright (C) 2019 Xiaomi # diff --git a/tools/flash_writer.py b/tools/flash_writer.py index 840f10c32f5..b2799156950 100755 --- a/tools/flash_writer.py +++ b/tools/flash_writer.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python3 +#!/usr/bin/env python3 +# tools/flash_writer.py # Copyright (C) 2018 Sony Semiconductor Solutions Corp. # diff --git a/tools/mkconfigvars.sh b/tools/mkconfigvars.sh index 4a5077a7c0f..c01a2e4f228 100755 --- a/tools/mkconfigvars.sh +++ b/tools/mkconfigvars.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# mkconfivars.sh +# tools/mkconfivars.sh # # Copyright (C) 2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/tools/mkctags.sh b/tools/mkctags.sh index 36bc6f9a0cc..55b0b1c5501 100755 --- a/tools/mkctags.sh +++ b/tools/mkctags.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# mkctags.sh +# tools/mkctags.sh # # Copyright (C) 2013 Ken pettit All rights reserved. # Author: Ken pettit diff --git a/tools/noteinfo.c b/tools/noteinfo.c index 3cdc843a30c..4bac4f05fba 100644 --- a/tools/noteinfo.c +++ b/tools/noteinfo.c @@ -1,3 +1,38 @@ +/**************************************************************************** + * tools/noteinfo.c + * + * Copyright (C) 2020 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + #include #include diff --git a/tools/ocdconsole.py b/tools/ocdconsole.py index c9ec08e67b3..a2ad072a10c 100755 --- a/tools/ocdconsole.py +++ b/tools/ocdconsole.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# tools/ocdconsole.py # # Copyright (C) 2019 Dave Marples. All rights reserved. # Author: Dave Marples diff --git a/tools/refresh.sh b/tools/refresh.sh index 914a52e8a40..6f1f495c9b8 100755 --- a/tools/refresh.sh +++ b/tools/refresh.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# refresh.sh +# tools/refresh.sh # # Copyright (C) 2014, 2016-2017, 2019 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/tools/testbuild.sh b/tools/testbuild.sh index ca4695d8f69..803494b7810 100755 --- a/tools/testbuild.sh +++ b/tools/testbuild.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# testbuild.sh +# tools/testbuild.sh # # Copyright (C) 2016-2019 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/tools/uncrustify.cfg b/tools/uncrustify.cfg index b6eebc46d21..b3f9ff7576b 100644 --- a/tools/uncrustify.cfg +++ b/tools/uncrustify.cfg @@ -1,3 +1,4 @@ +# tools/uncrustify.cfg # # uncrustify config file for NuttX # diff --git a/tools/version.sh b/tools/version.sh index 8e3f57b3be2..31e8412ad44 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# version.sh +# tools/version.sh # # Copyright (C) 2011, 2019 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/tools/zipme.sh b/tools/zipme.sh index f84387e5dec..2a0ff1fa1f7 100755 --- a/tools/zipme.sh +++ b/tools/zipme.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# zipme.sh +# tools/zipme.sh # # Copyright (C) 2007-2011, 2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt