summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-09-11 13:02:33 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-09-11 13:02:33 +0200
commit3fc8b04954ada246fd25a39b3403d6caafc8ff93 (patch)
tree9d73492aeb5b11b4513153073933af18df186035 /src
parent8848c17897619c2045c5f946b286d53a7761e1b2 (diff)
add AspectC++ to kconfig
Diffstat (limited to 'src')
-rw-r--r--src/arch/arduino-nano/Makefile.inc2
-rw-r--r--src/arch/blinkenrocket/Makefile.inc2
-rw-r--r--src/arch/esp8266/Makefile.inc2
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc2
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc2
-rw-r--r--src/arch/posix/Makefile.inc2
-rw-r--r--src/arch/stm32f446re-nucleo/Makefile.inc2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index ea8c89b..acc8544 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -28,7 +28,7 @@ OBJDUMP = avr-objdump
ARCH_SHORTNAME = avr
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
CXX = ag++ -r build/repo.acp -v 0 --c_compiler avr-g++ -p . --Xcompiler
endif
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc
index 82f4ede..09736dd 100644
--- a/src/arch/blinkenrocket/Makefile.inc
+++ b/src/arch/blinkenrocket/Makefile.inc
@@ -15,7 +15,7 @@ OBJDUMP = avr-objdump
ARCH_SHORTNAME = avr
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
CXX = ag++ -r build/repo.acp -v 0 --c_compiler avr-g++ -p . --Xcompiler
endif
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc
index 8d0a085..1b82d31 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -13,7 +13,7 @@ OBJCOPY = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-objcopy
OBJDUMP = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-objdump
SIZE = ${TOOLCHAIN_BASE}/xtensa-lx106-elf-size
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
CXX = ag++ -r build/repo.acp -v 0 --c_compiler ${TOOLCHAIN_BASE}/xtensa-lx106-elf-g++ -p . --Xcompiler
endif
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index 9e4c1bc..a422d05 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -28,7 +28,7 @@ CXX_TARGETS += src/arch/msp430fr5969lp/arch.cc
CXX_TARGETS += src/arch/msp430fr5969lp/driver/gpio.cc
CXX_TARGETS += src/arch/msp430fr5969lp/driver/stdout.cc
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
CXX = ag++ -r build/repo.acp -v 0 --c_compiler /opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/bin/msp430-elf-g++ -p . --Xcompiler
endif
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc
index fe2d514..30e9146 100644
--- a/src/arch/msp430fr5994lp/Makefile.inc
+++ b/src/arch/msp430fr5994lp/Makefile.inc
@@ -35,7 +35,7 @@ CXX_TARGETS += src/arch/msp430fr5994lp/arch.cc
CXX_TARGETS += src/arch/msp430fr5994lp/driver/gpio.cc
CXX_TARGETS += src/arch/msp430fr5994lp/driver/stdout.cc
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
ifeq (${msp430_large}, )
CXX = ag++ -r build/repo.acp -v 0 --c_compiler /opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/bin/msp430-elf-g++ -p . --Xcompiler
else
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc
index ee7ae95..4ae0907 100644
--- a/src/arch/posix/Makefile.inc
+++ b/src/arch/posix/Makefile.inc
@@ -8,7 +8,7 @@ OBJDUMP = objdump
ARCH_SHORTNAME = x64
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
CXX = ag++ -r build/repo.acp -v 0 -p . --Xcompiler
endif
diff --git a/src/arch/stm32f446re-nucleo/Makefile.inc b/src/arch/stm32f446re-nucleo/Makefile.inc
index 7a11cf5..4df29e1 100644
--- a/src/arch/stm32f446re-nucleo/Makefile.inc
+++ b/src/arch/stm32f446re-nucleo/Makefile.inc
@@ -18,7 +18,7 @@ SIZE = arm-none-eabi-size
CXX_TARGETS += src/arch/stm32f446re-nucleo/arch.cc
-ifeq (${aspectc}, 1)
+ifdef CONFIG_aspectc
CXX = ag++ -r build/repo.acp -v 0 --c_compiler arm-none-eabi-g++ -p . --Xcompiler
endif