major refactor of the unit test makefile
- Specify source files in variables instead of manually writing the make file rules, this removes a lot of duplication - Use separate folders for all tests allowing for tests and common source files to be built with different settings (defines)
This commit is contained in:
parent
149ed180f6
commit
e88e251df9
9
Makefile
9
Makefile
|
@ -37,10 +37,6 @@ SERIAL_DEVICE ?= $(firstword $(wildcard /dev/ttyUSB*) no-port-found)
|
|||
# Flash size (KB). Some low-end chips actually have more flash than advertised, use this to override.
|
||||
FLASH_SIZE ?=
|
||||
|
||||
## V : Set verbosity level based on the V= parameter
|
||||
## V=0 Low
|
||||
## V=1 High
|
||||
include build_verbosity.mk
|
||||
|
||||
###############################################################################
|
||||
# Things that need to be maintained as the source changes
|
||||
|
@ -58,6 +54,11 @@ INCLUDE_DIRS = $(SRC_DIR) \
|
|||
$(ROOT)/src/main/target
|
||||
LINKER_DIR = $(ROOT)/src/main/target/link
|
||||
|
||||
## V : Set verbosity level based on the V= parameter
|
||||
## V=0 Low
|
||||
## V=1 High
|
||||
include $(ROOT)/make/build_verbosity.mk
|
||||
|
||||
# Build tools, so we all share the same versions
|
||||
# import macros common to all supported build systems
|
||||
include $(ROOT)/make/system-id.mk
|
||||
|
|
1227
src/test/Makefile
1227
src/test/Makefile
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue