Skip to content

Commit 57c8a62

Browse files
txy-21xiaoxiang781216
authored andcommitted
apps/testing:move arch_libc, fmemopen, scanftest folders to the new lib folder
Signed-off-by: tengshuangshuang <[email protected]>
1 parent 8141e35 commit 57c8a62

19 files changed

+89
-15
lines changed

Diff for: testing/libc/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Kconfig

Diff for: testing/libc/CMakeLists.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ##############################################################################
2+
# apps/testing/libc/CMakeLists.txt
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
7+
# license agreements. See the NOTICE file distributed with this work for
8+
# additional information regarding copyright ownership. The ASF licenses this
9+
# file to you under the Apache License, Version 2.0 (the "License"); you may not
10+
# use this file except in compliance with the License. You may obtain a copy of
11+
# 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 under
19+
# the License.
20+
#
21+
# ##############################################################################
22+
23+
nuttx_add_subdirectory()
24+
nuttx_generate_kconfig(MENUDESC "libc")

Diff for: testing/libc/Make.defs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
############################################################################
2+
# apps/testing/libc/Make.defs
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+
23+
include $(wildcard $(APPDIR)/testing/libc/*/Make.defs)

Diff for: testing/libc/Makefile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
############################################################################
2+
# apps/testing/libc/Makefile
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+
23+
MENUDESC = "libc"
24+
25+
include $(APPDIR)/Directory.mk

Diff for: testing/arch_libc/CMakeLists.txt renamed to testing/libc/arch_libc/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/arch_libc/CMakeLists.txt
2+
# apps/testing/libc/arch_libc/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/arch_libc/Make.defs renamed to testing/libc/arch_libc/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/arch_libc/Make.defs
2+
# apps/testing/libc/arch_libc/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_ARCH_LIBC),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/arch_libc
24+
CONFIGURED_APPS += $(APPDIR)/testing/libc/arch_libc
2525
endif

Diff for: testing/arch_libc/Makefile renamed to testing/libc/arch_libc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/arch_libc/Makefile
2+
# apps/testing/libc/arch_libc/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/arch_libc/arch_libc_test_main.c renamed to testing/libc/arch_libc/arch_libc_test_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/arch_libc/arch_libc_test_main.c
2+
* apps/testing/libc/arch_libc/arch_libc_test_main.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/fmemopen/CMakeLists.txt renamed to testing/libc/fmemopen/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/fmemopen/CMakeLists.txt
2+
# apps/testing/libc/fmemopen/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/fmemopen/Make.defs renamed to testing/libc/fmemopen/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fmemopen/Make.defs
2+
# apps/testing/libc/fmemopen/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_FMEMOPEN_TEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/fmemopen
24+
CONFIGURED_APPS += $(APPDIR)/testing/libc/fmemopen
2525
endif

Diff for: testing/fmemopen/Makefile renamed to testing/libc/fmemopen/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fmemopen/Makefile
2+
# apps/testing/libc/fmemopen/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/fmemopen/fmemopen.c renamed to testing/libc/fmemopen/fmemopen.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/fmemopen/fmemopen.c
2+
* apps/testing/libc/fmemopen/fmemopen.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

Diff for: testing/scanftest/CMakeLists.txt renamed to testing/libc/scanftest/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/scanftest/CMakeLists.txt
2+
# apps/testing/libc/scanftest/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

Diff for: testing/scanftest/Make.defs renamed to testing/libc/scanftest/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/scanftest/Make.defs
2+
# apps/testing/libc/scanftest/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_SCANFTEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/scanftest
24+
CONFIGURED_APPS += $(APPDIR)/testing/libc/scanftest
2525
endif

Diff for: testing/scanftest/Makefile renamed to testing/libc/scanftest/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/scanftest/Makefile
2+
# apps/testing/libc/scanftest/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

Diff for: testing/scanftest/scanftest_main.c renamed to testing/libc/scanftest/scanftest_main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/scanftest/scanftest_main.c
2+
* apps/testing/libc/scanftest/scanftest_main.c
33
*
44
* SPDX-License-Identifier: BSD-3-Clause
55
* SPDX-FileCopyrightText: 2005-01-26, Greg King (https://github.com/cc65)
@@ -55,6 +55,7 @@
5555
*
5656
* Modified: Johannes Schock
5757
*/
58+
5859
/****************************************************************************
5960
* Included Files
6061
****************************************************************************/

0 commit comments

Comments
 (0)