Makefile: specify default goal using the variable .DEFAULT_GOAL
The target "default" in hypervisor/Makefile is just an alias of the target "all" in order to make "all" being the default goal. This patch replaces that duplicate target and specifies the default goal by defining the variable .DEFAULT_GOAL instead. Tracked-On: #8259 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
7c18e26044
commit
0e8ce66af9
|
@ -40,9 +40,6 @@ ARCH_ASFLAGS :=
|
|||
ARCH_ARFLAGS :=
|
||||
ARCH_LDFLAGS :=
|
||||
|
||||
.PHONY: default
|
||||
default: all
|
||||
|
||||
include scripts/makefile/config.mk
|
||||
|
||||
BOARD_INFO_DIR := $(HV_CONFIG_DIR)/boards
|
||||
|
@ -566,3 +563,5 @@ $(VM_CFG_C_OBJS): %.o: %.c header
|
|||
$(HV_OBJDIR)/%.o: %.S header
|
||||
[ ! -e $@ ] && mkdir -p $(dir $@) && mkdir -p $(HV_MODDIR); \
|
||||
$(CC) $(patsubst %, -I%, $(INCLUDE_PATH)) -I. $(ASFLAGS) $(ARCH_ASFLAGS) -c $< -o $@ -MMD -MT $@
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
|
|
Loading…
Reference in New Issue