mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-23 14:08:30 +08:00
bsps/shared: Build fsl-edma only for certain BSP
Move the Freescale EDMA driver to it's own object and build it only for the BSP that is currently using it.
This commit is contained in:
@@ -143,6 +143,8 @@ links:
|
||||
uid: ../../obj
|
||||
- role: build-dependency
|
||||
uid: ../../objirq
|
||||
- role: build-dependency
|
||||
uid: ../../objdevfsledma
|
||||
- role: build-dependency
|
||||
uid: ../../opto2
|
||||
- role: build-dependency
|
||||
|
||||
@@ -28,10 +28,6 @@ install:
|
||||
source:
|
||||
- bsps/include/ofw/ofw.h
|
||||
- bsps/include/ofw/ofw_compat.h
|
||||
- destination: ${BSP_INCLUDEDIR}/fsl
|
||||
source:
|
||||
- bsps/include/fsl/edma.h
|
||||
- bsps/include/fsl/regs-edma.h
|
||||
- destination: ${BSP_INCLUDEDIR}/libchip
|
||||
source:
|
||||
- bsps/include/libchip/ata.h
|
||||
@@ -76,7 +72,6 @@ links:
|
||||
source:
|
||||
- bsps/shared/dev/display/disp_hcms29xx.c
|
||||
- bsps/shared/dev/display/font_hcms29xx.c
|
||||
- bsps/shared/dev/dma/fsl-edma.c
|
||||
- bsps/shared/dev/i2c/i2c-2b-eeprom.c
|
||||
- bsps/shared/dev/i2c/i2c-ds1621.c
|
||||
- bsps/shared/dev/i2c/i2c-sc620.c
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
build-type: objects
|
||||
cflags: []
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by: true
|
||||
includes: []
|
||||
install:
|
||||
- destination: ${BSP_INCLUDEDIR}/fsl
|
||||
source:
|
||||
- bsps/include/fsl/edma.h
|
||||
- bsps/include/fsl/regs-edma.h
|
||||
links: []
|
||||
source:
|
||||
- bsps/shared/dev/dma/fsl-edma.c
|
||||
type: build
|
||||
Reference in New Issue
Block a user