Skip to content

Commit 2523d2c

Browse files
committed
Removed enforced .config breaking jenkins set-up
1 parent 09622b1 commit 2523d2c

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

tools/test-enc.mk

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,12 @@ else
1515
endif
1616
endif
1717

18-
.config:
19-
@rm -f $@
20-
@echo [CONFIG]
21-
@cp config/examples/stm32wb-uart-flash-encryption.config $@
22-
23-
2418
tools/uart-flash-server/ufserver: FORCE
2519
@make -C `dirname $@`
2620
@rm -f src/libwolfboot.o
2721

28-
test-enc-update: factory.bin test-app/image.bin .config tools/uart-flash-server/ufserver FORCE
22+
test-enc-update: factory.bin test-app/image.bin tools/uart-flash-server/ufserver
23+
@diff .config config/examples/stm32wb-uart-flash-encryption.config || (echo "\n\n*** Error: please copy config/examples/stm32wb-uart-flash-encryption.config to .config to run this test\n\n" && exit 1)
2924
@printf "0123456789abcdef0123456789abcdef0123456789ab" > /tmp/enc_key.der
3025
@$(SIGN_TOOL) $(SIGN_ARGS) test-app/image.bin $(PRIVATE_KEY) $(ENC_TEST_UPDATE_VERSION)
3126
@$(SIGN_TOOL) $(SIGN_ENC_ARGS) test-app/image.bin $(PRIVATE_KEY) $(ENC_TEST_UPDATE_VERSION)

0 commit comments

Comments
 (0)