build: Fix default target

Fixed the top-level build which was broken: the kata deploy
Makefile was being sourced, but it was defining the first target, which
became the default.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2021-11-04 16:28:08 +00:00
parent f611785fdc
commit 5c9c0b6e62
2 changed files with 4 additions and 4 deletions

View File

@ -17,11 +17,13 @@ TOOLS += agent-ctl
STANDARD_TARGETS = build check clean install test vendor STANDARD_TARGETS = build check clean install test vendor
include utils.mk default: all
include ./tools/packaging/kata-deploy/local-build/Makefile
all: build all: build
include utils.mk
include ./tools/packaging/kata-deploy/local-build/Makefile
# Create the rules # Create the rules
$(eval $(call create_all_rules,$(COMPONENTS),$(TOOLS),$(STANDARD_TARGETS))) $(eval $(call create_all_rules,$(COMPONENTS),$(TOOLS),$(STANDARD_TARGETS)))

View File

@ -91,8 +91,6 @@ endef
# $3 - List of standard targets. # $3 - List of standard targets.
define create_all_rules define create_all_rules
default: all
all: $(1) $(2) all: $(1) $(2)
# Create rules for all components. # Create rules for all components.