bsps/arm: Use shared object for ARM920 MMU support

This commit is contained in:
Sebastian Huber
2024-05-10 13:20:45 +00:00
committed by Kinsey Moore
parent 5a3a85ccdd
commit ee7f847432
7 changed files with 25 additions and 7 deletions
+2 -1
View File
@@ -28,6 +28,8 @@ links:
uid: start
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../objarm920mmu
- role: build-dependency
uid: ../../obj
- role: build-dependency
@@ -46,7 +48,6 @@ source:
- bsps/arm/csb336/start/bspstart.c
- bsps/arm/csb336/start/memmap.c
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+2
View File
@@ -40,6 +40,8 @@ links:
uid: start
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../objarm920mmu
- role: build-dependency
uid: ../../linkcmds
- role: build-dependency
-1
View File
@@ -42,7 +42,6 @@ source:
- bsps/arm/csb337/start/memmap.c
- bsps/arm/csb337/start/pmc.c
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
-3
View File
@@ -47,9 +47,6 @@ install:
- bsps/include/dev/irq/arm-gic-regs.h
- bsps/include/dev/irq/arm-gic-tm27.h
- bsps/include/dev/irq/arm-gic.h
- destination: ${BSP_INCLUDEDIR}/libcpu
source:
- bsps/arm/include/libcpu/mmu.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/shared/start/linkcmds.armv4
+2 -1
View File
@@ -30,6 +30,8 @@ links:
uid: optskyeye
- role: build-dependency
uid: start
- role: build-dependency
uid: ../objarm920mmu
- role: build-dependency
uid: ../../obj
- role: build-dependency
@@ -50,7 +52,6 @@ source:
- bsps/arm/gumstix/start/bspreset.c
- bsps/arm/gumstix/start/bspstart.c
- bsps/arm/gumstix/start/memmap.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
+17
View File
@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2024 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}/libcpu
source:
- bsps/arm/include/libcpu/mmu.h
links: []
source:
- bsps/arm/shared/cp15/arm920-mmu.c
type: build
+2 -1
View File
@@ -34,6 +34,8 @@ links:
uid: optskyeye
- role: build-dependency
uid: start
- role: build-dependency
uid: ../objarm920mmu
- role: build-dependency
uid: ../../obj
- role: build-dependency
@@ -46,7 +48,6 @@ links:
uid: ../../bspopts
source:
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/arm/smdk2410/btimer/btimer.c
- bsps/arm/smdk2410/clock/clockdrv.c
- bsps/arm/smdk2410/clock/support.c