diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-12 16:05:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-12 16:17:44 +0200 |
commit | 1db60dffec9e25662c289331a48a978075f11841 (patch) | |
tree | 4a01167fbf02ff3ee7cecfa44168187ede4556ef /spec/build/bsps | |
parent | build: Fix format (diff) | |
download | rtems-1db60dffec9e25662c289331a48a978075f11841.tar.bz2 |
build: Move drivers without SMP support
This fixes warnings like this:
warning: implicit declaration of function 'rtems_interrupt_disable'
warning: implicit declaration of function 'rtems_interrupt_enable'
warning: implicit declaration of function 'rtems_interrupt_flash'
Diffstat (limited to 'spec/build/bsps')
-rw-r--r-- | spec/build/bsps/obj.yml | 17 | ||||
-rw-r--r-- | spec/build/bsps/objnosmp.yml | 31 |
2 files changed, 33 insertions, 15 deletions
diff --git a/spec/build/bsps/obj.yml b/spec/build/bsps/obj.yml index 29084a70b8..a454783d51 100644 --- a/spec/build/bsps/obj.yml +++ b/spec/build/bsps/obj.yml @@ -26,7 +26,6 @@ install: - bsps/include/bsp/utility.h - destination: ${BSP_INCLUDEDIR}/libchip source: - - bsps/include/libchip/am29lv160.h - bsps/include/libchip/ata.h - bsps/include/libchip/ata_internal.h - bsps/include/libchip/disp_hcms29xx.h @@ -39,8 +38,6 @@ install: - bsps/include/libchip/ide_ctrl_cfg.h - bsps/include/libchip/ide_ctrl_io.h - bsps/include/libchip/m48t08.h - - bsps/include/libchip/mc146818a.h - - bsps/include/libchip/mc68681.h - bsps/include/libchip/ns16550.h - bsps/include/libchip/ns16550_p.h - bsps/include/libchip/rtc.h @@ -51,7 +48,6 @@ install: - bsps/include/libchip/spi-memdrv.h - bsps/include/libchip/spi-sd-card.h - bsps/include/libchip/wd80x3.h - - bsps/include/libchip/z85c30.h - destination: ${BSP_INCLUDEDIR}/dev/serial source: - bsps/include/dev/serial/arm-pl011-regs.h @@ -67,10 +63,11 @@ links: uid: objnet - role: build-dependency uid: objnetnosmp +- role: build-dependency + uid: objnosmp source: - bsps/shared/dev/display/disp_hcms29xx.c - bsps/shared/dev/display/font_hcms29xx.c -- bsps/shared/dev/flash/am29lv160.c - bsps/shared/dev/i2c/i2c-2b-eeprom.c - bsps/shared/dev/i2c/i2c-ds1621.c - bsps/shared/dev/i2c/i2c-sc620.c @@ -92,21 +89,11 @@ source: - bsps/shared/dev/rtc/m48t08_reg4.c - bsps/shared/dev/rtc/m48t08_reg8.c - bsps/shared/dev/rtc/m48t08_reg.c -- bsps/shared/dev/rtc/mc146818a.c -- bsps/shared/dev/rtc/mc146818a_ioreg.c - bsps/shared/dev/rtc/rtcprobe.c - bsps/shared/dev/serial/arm-pl011.c -- bsps/shared/dev/serial/mc68681_baud.c -- bsps/shared/dev/serial/mc68681.c -- bsps/shared/dev/serial/mc68681_reg2.c -- bsps/shared/dev/serial/mc68681_reg4.c -- bsps/shared/dev/serial/mc68681_reg8.c -- bsps/shared/dev/serial/mc68681_reg.c - bsps/shared/dev/serial/ns16550.c - bsps/shared/dev/serial/ns16550-context.c - bsps/shared/dev/serial/serprobe.c -- bsps/shared/dev/serial/z85c30.c -- bsps/shared/dev/serial/z85c30_reg.c - bsps/shared/start/bootcard.c - bsps/shared/rtems-version.c type: build diff --git a/spec/build/bsps/objnosmp.yml b/spec/build/bsps/objnosmp.yml new file mode 100644 index 0000000000..772e6f121c --- /dev/null +++ b/spec/build/bsps/objnosmp.yml @@ -0,0 +1,31 @@ +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: + not: RTEMS_SMP +includes: [] +install: +- destination: ${BSP_INCLUDEDIR}/libchip + source: + - bsps/include/libchip/am29lv160.h + - bsps/include/libchip/mc146818a.h + - bsps/include/libchip/mc68681.h + - bsps/include/libchip/z85c30.h +links: [] +source: +- bsps/shared/dev/flash/am29lv160.c +- bsps/shared/dev/rtc/mc146818a.c +- bsps/shared/dev/rtc/mc146818a_ioreg.c +- bsps/shared/dev/serial/mc68681_baud.c +- bsps/shared/dev/serial/mc68681.c +- bsps/shared/dev/serial/mc68681_reg2.c +- bsps/shared/dev/serial/mc68681_reg4.c +- bsps/shared/dev/serial/mc68681_reg8.c +- bsps/shared/dev/serial/mc68681_reg.c +- bsps/shared/dev/serial/z85c30.c +- bsps/shared/dev/serial/z85c30_reg.c +type: build |