diff options
| author | J08nY | 2020-03-02 00:03:57 +0100 |
|---|---|---|
| committer | J08nY | 2020-03-02 00:03:57 +0100 |
| commit | b3e45bf773cec6ecf3f2a702c0b48c9dbfab0c04 (patch) | |
| tree | 8a232cf9298772e88bfee7f39b973f0e9009cae3 /ext | |
| parent | 0341d359dc67ced3f1e65d1d11af3590c1f0992f (diff) | |
| download | pyecsca-codegen-b3e45bf773cec6ecf3f2a702c0b48c9dbfab0c04.tar.gz pyecsca-codegen-b3e45bf773cec6ecf3f2a702c0b48c9dbfab0c04.tar.zst pyecsca-codegen-b3e45bf773cec6ecf3f2a702c0b48c9dbfab0c04.zip | |
Add reduction functions, add global trigger for whole cmd.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/Makefile b/ext/Makefile index db0a50d..85427f0 100644 --- a/ext/Makefile +++ b/ext/Makefile @@ -13,6 +13,8 @@ tommath_dir: 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 $(MAKE) -C libtommath clean $(MAKE) -C libtommath @@ -22,6 +24,7 @@ stm32f0: CROSS_COMPILE=arm-none-eabi- stm32f0: CFLAGS=-mcpu=cortex-m0 -mthumb -mfloat-abi=soft -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 stm32f0: LDFLAGS=--specs=nano.specs --specs=nosys.specs -T ../pyecsca/codegen/hal/stm32f0/LinkerScript.ld -Wl,--gc-sections -lm -mthumb -mcpu=cortex-m0 stm32f0: COMPILE_SIZE=1 +stm32f0: COMPILE_LTO=1 stm32f0: LIBNAME=libtommath-CW308_STM32F0.a stm32f0: tommath_dir $(MAKE) -C libtommath clean @@ -32,6 +35,7 @@ stm32f3: CROSS_COMPILE=arm-none-eabi- stm32f3: CFLAGS=-mcpu=cortex-m4 -mthumb -mfloat-abi=soft -mfpu=fpv4-sp-d16 -fmessage-length=0 -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 stm32f3: LDFLAGS=--specs=nano.specs -T ../pyecsca/codegen/hal/stm32f3/LinkerScript.ld -Wl,--gc-sections -lm -mthumb -mcpu=cortex-m4 stm32f3: COMPILE_SIZE=1 +stm32f3: COMPILE_LTO=1 stm32f3: LIBNAME=libtommath-CW308_STM32F3.a stm32f3: tommath_dir $(MAKE) -C libtommath clean |
