forked from Imagelibrary/rtems
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
|
uid: ../../obj
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
uid: ../../objirq
|
uid: ../../objirq
|
||||||
|
- role: build-dependency
|
||||||
|
uid: ../../objdevfsledma
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
uid: ../../opto2
|
uid: ../../opto2
|
||||||
- role: build-dependency
|
- role: build-dependency
|
||||||
|
|||||||
@@ -28,10 +28,6 @@ install:
|
|||||||
source:
|
source:
|
||||||
- bsps/include/ofw/ofw.h
|
- bsps/include/ofw/ofw.h
|
||||||
- bsps/include/ofw/ofw_compat.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
|
- destination: ${BSP_INCLUDEDIR}/libchip
|
||||||
source:
|
source:
|
||||||
- bsps/include/libchip/ata.h
|
- bsps/include/libchip/ata.h
|
||||||
@@ -76,7 +72,6 @@ links:
|
|||||||
source:
|
source:
|
||||||
- bsps/shared/dev/display/disp_hcms29xx.c
|
- bsps/shared/dev/display/disp_hcms29xx.c
|
||||||
- bsps/shared/dev/display/font_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-2b-eeprom.c
|
||||||
- bsps/shared/dev/i2c/i2c-ds1621.c
|
- bsps/shared/dev/i2c/i2c-ds1621.c
|
||||||
- bsps/shared/dev/i2c/i2c-sc620.c
|
- bsps/shared/dev/i2c/i2c-sc620.c
|
||||||
|
|||||||
18
spec/build/bsps/objdevfsledma.yml
Normal file
18
spec/build/bsps/objdevfsledma.yml
Normal file
@@ -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