diff options
| author | J08nY | 2020-12-14 17:38:23 +0100 |
|---|---|---|
| committer | J08nY | 2020-12-14 17:38:23 +0100 |
| commit | bf264e994bedf8c5df7f9477b9546271d1ddaf00 (patch) | |
| tree | 406a6d631c02a7251ea866aff1caaea26ded47fe /ext | |
| parent | 467b3185e9d2ef3457ad3c1281280c87394ab912 (diff) | |
| download | pyecsca-codegen-bf264e994bedf8c5df7f9477b9546271d1ddaf00.tar.gz pyecsca-codegen-bf264e994bedf8c5df7f9477b9546271d1ddaf00.tar.zst pyecsca-codegen-bf264e994bedf8c5df7f9477b9546271d1ddaf00.zip | |
Fix tests with master version of pyecsca.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/Makefile b/ext/Makefile index 85427f0..f3216ac 100644 --- a/ext/Makefile +++ b/ext/Makefile @@ -11,11 +11,14 @@ clean: tommath_dir: mkdir -p ../pyecsca/codegen/tommath +tommath_headers: tommath_dir + cp libtommath/*.h ../pyecsca/codegen/tommath/ + host: LIBNAME=libtommath-HOST.a host: CFLAGS=-DMP_NO_DEV_URANDOM -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 host: COMPILE_SIZE=1 host: COMPILE_LTO=1 -host: tommath_dir +host: tommath_dir tommath_headers $(MAKE) -C libtommath clean $(MAKE) -C libtommath cp libtommath/$(LIBNAME) ../pyecsca/codegen/tommath/$(LIBNAME) @@ -26,7 +29,7 @@ stm32f0: LDFLAGS=--specs=nano.specs --specs=nosys.specs -T ../pyecsca/codegen/ha stm32f0: COMPILE_SIZE=1 stm32f0: COMPILE_LTO=1 stm32f0: LIBNAME=libtommath-CW308_STM32F0.a -stm32f0: tommath_dir +stm32f0: tommath_dir tommath_headers $(MAKE) -C libtommath clean $(MAKE) -C libtommath cp libtommath/$(LIBNAME) ../pyecsca/codegen/tommath/$(LIBNAME) @@ -37,9 +40,9 @@ stm32f3: LDFLAGS=--specs=nano.specs -T ../pyecsca/codegen/hal/stm32f3/LinkerScri stm32f3: COMPILE_SIZE=1 stm32f3: COMPILE_LTO=1 stm32f3: LIBNAME=libtommath-CW308_STM32F3.a -stm32f3: tommath_dir +stm32f3: tommath_dir tommath_headers $(MAKE) -C libtommath clean $(MAKE) -C libtommath cp libtommath/$(LIBNAME) ../pyecsca/codegen/tommath/$(LIBNAME) -.PHONY: all host stm32f0 stm32f3 xmega tommath_dir help clean
\ No newline at end of file +.PHONY: all host stm32f0 stm32f3 xmega tommath_dir tommath_headers help clean |
