Commit 3fc8b049 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

add AspectC++ to kconfig

parent 8848c178
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@ ifdef verbose
	QUIET =
endif

ifeq (${aspectc}, 1)
	CONFIG_aspectc = y
endif

ifneq (${app_dir}, )
	include src/app/${app_dir}/Makefile.inc
endif
+4 −0
Original line number Diff line number Diff line
@@ -17,6 +17,10 @@ bool "C++ ostream support in stdout"
default n
depends on arch_esp8266 || arch_msp430fr5969lp || arch_msp430fr5994lp || arch_posix

config aspectc
bool "Build with AspectC++"
default n

config i2c_freq
int "I2C Frequency [Hz]"
range 1000 100000
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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

Loading