mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user