Skip to content

Commit d3102f0

Browse files
jerpeleaxiaoxiang781216
authored andcommitted
interpreters: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <[email protected]>
1 parent be38e77 commit d3102f0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+328
-119
lines changed

interpreters/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/interpreters/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

interpreters/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/bas/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/interpreters/bas/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

interpreters/bas/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/bas/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/bas/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/bas/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/bas/bas.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas.c
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_auto.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_auto.c
3-
* BASIC file system interface.
43
*
5-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a
88
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_auto.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_auto.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_autotypes.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_autotypes.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_error.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_error.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_fs.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_fs.c
3-
* BASIC file system interface.
43
*
5-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a
88
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_fs.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_fs.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_global.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_global.c
3-
* Global variables and functions.
43
*
5-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a
88
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_global.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_global.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_main.c
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_program.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_program.c
3-
* Program storage.
43
*
5-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a
88
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_program.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_program.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_programtypes.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_programtypes.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_statement.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_statement.c
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_statement.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/statement.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_str.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_str.c
3-
* Dynamic strings.
43
*
5-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a
88
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_str.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_str.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_token.c

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/****************************************************************************
2+
* apps/interpreters/bas/bas_token.c
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
* Licensed to the Apache Software Foundation (ASF) under one or more
7+
* contributor license agreements. See the NOTICE file distributed with
8+
* this work for additional information regarding copyright ownership. The
9+
* ASF licenses this file to you under the Apache License, Version 2.0 (the
10+
* "License"); you may not use this file except in compliance with the
11+
* License. You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
* License for the specific language governing permissions and limitations
19+
* under the License.
20+
*
21+
****************************************************************************/
122

223
#line 3 "<stdout>"
324

interpreters/bas/bas_token.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_token.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_token.l

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/****************************************************************************
2+
* apps/interpreters/bas/bas_token.l
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
* Licensed to the Apache Software Foundation (ASF) under one or more
7+
* contributor license agreements. See the NOTICE file distributed with
8+
* this work for additional information regarding copyright ownership. The
9+
* ASF licenses this file to you under the Apache License, Version 2.0 (the
10+
* "License"); you may not use this file except in compliance with the
11+
* License. You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
* License for the specific language governing permissions and limitations
19+
* under the License.
20+
*
21+
****************************************************************************/
22+
123
/* Tokens and token sequence arrays. */
224
%{
325
#include <nuttx/config.h>

interpreters/bas/bas_value.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_value.c
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_value.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_value.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_var.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_var.c
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_var.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_var.h
33
*
4-
* Copyright (c) 1999-2014 Michael Haardt
4+
* SPDX-License-Identifier: MIT
5+
* SPDX-FileCopyrightText: 1999-2014 Michael Haardt
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a
78
* copy of this software and associated documentation files (the "Software"),

interpreters/bas/bas_vt100.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_vt100.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

interpreters/bas/bas_vt100.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/interpreters/bas/bas_vt100.h
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

interpreters/duktape/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/duktape/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/duktape/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/duktape/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/ficl/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/ficl/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

interpreters/ficl/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/interpreters/ficl/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

0 commit comments

Comments
 (0)