openamp: Move the download to context target
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e89933d02a
commit
a941c93f72
@ -34,7 +34,7 @@ OBJS = $(AOBJS) $(COBJS)
|
||||
BIN = libopenamp$(LIBEXT)
|
||||
|
||||
all: $(BIN)
|
||||
.PHONY: context depend clean distclean dirlinks
|
||||
.PHONY: context depend clean distclean
|
||||
|
||||
$(AOBJS): %$(OBJEXT): %.S
|
||||
$(call ASSEMBLE, $<, $@)
|
||||
@ -45,7 +45,7 @@ $(COBJS): %$(OBJEXT): %.c
|
||||
$(BIN): $(OBJS)
|
||||
$(call ARCHIVE, $@, $(OBJS))
|
||||
|
||||
dirlinks::
|
||||
context::
|
||||
|
||||
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
||||
$(call CATFILE, Make.dep, $^)
|
||||
|
@ -76,7 +76,7 @@ libmetal.zip:
|
||||
)
|
||||
touch $@
|
||||
|
||||
dirlinks:: .libmetal_headers
|
||||
context:: .libmetal_headers
|
||||
|
||||
distclean::
|
||||
$(call DELDIR, $(TOPDIR)$(DELIM)include$(DELIM)metal)
|
||||
|
@ -43,7 +43,7 @@ open-amp.zip:
|
||||
$(foreach header,$(headers),$(shell cp -rf $(header) $(TOPDIR)$(DELIM)include$(DELIM)openamp$(DELIM)))
|
||||
touch $@
|
||||
|
||||
dirlinks:: .openamp_headers
|
||||
context:: .openamp_headers
|
||||
|
||||
distclean::
|
||||
$(call DELDIR, $(TOPDIR)$(DELIM)include$(DELIM)openamp$(DELIM))
|
||||
|
@ -159,6 +159,7 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_OPENAMP),y)
|
||||
KERNDEPDIRS += openamp
|
||||
CONTEXTDIRS += openamp
|
||||
else
|
||||
CLEANDIRS += openamp
|
||||
endif
|
||||
|
@ -327,7 +327,6 @@ endif
|
||||
|
||||
dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip drivers/platform
|
||||
$(Q) $(MAKE) -C boards dirlinks
|
||||
$(Q) $(MAKE) -C openamp dirlinks
|
||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
||||
|
||||
# context
|
||||
|
@ -306,7 +306,6 @@ endif
|
||||
|
||||
dirlinks: include\arch include\arch\board include\arch\chip $(ARCH_SRC)\board $(ARCH_SRC)\chip drivers\platform
|
||||
$(Q) $(MAKE) -C boards dirlinks
|
||||
$(Q) $(MAKE) -C openamp dirlinks
|
||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
||||
|
||||
# context
|
||||
|
Loading…
Reference in New Issue
Block a user