security/intel/cbnt/Makefile: Fix invalid char '*'

It seems that using a wildcard (*) in the import path is not supported
in the context of the Makefile.
This to fix this error:
  malformed import path "cmd/cbnt-prov/*.go": invalid char '*'

Change-Id: I953e06f1ff70a2b61bc5f505f7df9936b7f9b55b
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75638
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
This commit is contained in:
Elyes Haouas 2023-06-15 19:09:51 +02:00 committed by Felix Singer
parent 9afa18f0e9
commit d985e9dbd2
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ ifneq ($(CONFIG_INTEL_CBNT_PROV_EXTERNAL_BIN),y)
$(CBNT_PROV): $(CBNT_PROV):
printf " CBNT_PROV building tool\n" printf " CBNT_PROV building tool\n"
cd 3rdparty/intel-sec-tools; \ cd 3rdparty/intel-sec-tools; \
GO111MODULE=on go build -o $(abspath $@) cmd/cbnt-prov/*.go GO111MODULE=on go build -o $(abspath $@) cmd/cbnt-prov/main.go cmd/cbnt-prov/cmd.go
else else
$(CBNT_PROV): $(call strip_quotes, $(CONFIG_INTEL_CBNT_PROV_EXTERNAL_BIN_PATH)) $(CBNT_PROV): $(call strip_quotes, $(CONFIG_INTEL_CBNT_PROV_EXTERNAL_BIN_PATH))
cp $< $@ cp $< $@