File tree Expand file tree Collapse file tree 3 files changed +81
-0
lines changed
boards/arm/qemu/qemu-armv7a Expand file tree Collapse file tree 3 files changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ##############################################################################
2
+ # arch/arm/src/qemu/CMakeLists.txt
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more contributor
5
+ # license agreements. See the NOTICE file distributed with this work for
6
+ # additional information regarding copyright ownership. The ASF licenses this
7
+ # file to you under the Apache License, Version 2.0 (the "License"); you may not
8
+ # use this file except in compliance with the License. You may obtain a copy of
9
+ # the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations under
17
+ # the License.
18
+ #
19
+ # ##############################################################################
20
+
21
+ set (SRCS qemu_boot.c qemu_serial.c qemu_irq.c qemu_timer.c qemu_memorymap.c )
22
+
23
+ if (CONFIG_SMP )
24
+ list (APPEND SRCS qemu_cpuboot.c )
25
+ endif ()
26
+
27
+ target_sources (arch PRIVATE ${SRCS} )
Original file line number Diff line number Diff line change
1
+ # ##############################################################################
2
+ # boards/arm/qemu/qemu-armv7a/CMakeLists.txt
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more contributor
5
+ # license agreements. See the NOTICE file distributed with this work for
6
+ # additional information regarding copyright ownership. The ASF licenses this
7
+ # file to you under the Apache License, Version 2.0 (the "License"); you may not
8
+ # use this file except in compliance with the License. You may obtain a copy of
9
+ # the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations under
17
+ # the License.
18
+ #
19
+ # ##############################################################################
20
+
21
+ set_property (GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR} /scripts/dramboot.ld" )
22
+
23
+ add_subdirectory (src )
Original file line number Diff line number Diff line change
1
+ # ##############################################################################
2
+ # boards/arm/qemu/qemu-armv7a/src/CMakeLists.txt
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more contributor
5
+ # license agreements. See the NOTICE file distributed with this work for
6
+ # additional information regarding copyright ownership. The ASF licenses this
7
+ # file to you under the Apache License, Version 2.0 (the "License"); you may not
8
+ # use this file except in compliance with the License. You may obtain a copy of
9
+ # the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations under
17
+ # the License.
18
+ #
19
+ # ##############################################################################
20
+ set (SRCS qemu_boardinit.c qemu_bringup.c )
21
+
22
+ if (CONFIG_BOARDCTL )
23
+ list (APPEND SRCS qemu_appinit.c )
24
+ endif ()
25
+
26
+ if (CONFIG_LIBC_FDT )
27
+ target_include_directories (board
28
+ PRIVATE ${NUTTX_DIR} /libs/libc/fdt/dtc/libfdt )
29
+ endif ()
30
+
31
+ target_sources (board PRIVATE ${SRCS} )
You can’t perform that action at this time.
0 commit comments