From 2d4ddb1820122cd8e7d42185f2ea80330c63d4f6 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 2 Oct 2021 20:31:11 +0100 Subject: Introduced config.env One config to rule the whole build system and the tests. --- config.env | 1 + 1 file changed, 1 insertion(+) create mode 100644 config.env (limited to 'config.env') diff --git a/config.env b/config.env new file mode 100644 index 0000000..24bc9bb --- /dev/null +++ b/config.env @@ -0,0 +1 @@ +ROM_MAX=0x8000 -- cgit v1.2.3 From 271902c4c9b85137cf223e62ba7196cccfcb7479 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 2 Oct 2021 21:06:33 +0100 Subject: Make it portable (depends on GNU Make) --- config.env | 3 +++ tests/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'config.env') diff --git a/config.env b/config.env index 24bc9bb..21ce6c9 100644 --- a/config.env +++ b/config.env @@ -1 +1,4 @@ +# This env file controls some parameters of the build/test system + +# Size of the resulting ROM ROM_MAX=0x8000 diff --git a/tests/Makefile b/tests/Makefile index 2d741fa..32933e0 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,7 +2,7 @@ default: $(error Please use the Makefile from root directory) include ../config.env -export $(shell sed 's/=.*//' ../config.env) +.EXPORT_ALL_VARIABLES: test TESTS := $(wildcard test_*.py) -- cgit v1.2.3