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)
|
BIN = libopenamp$(LIBEXT)
|
||||||
|
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
.PHONY: context depend clean distclean dirlinks
|
.PHONY: context depend clean distclean
|
||||||
|
|
||||||
$(AOBJS): %$(OBJEXT): %.S
|
$(AOBJS): %$(OBJEXT): %.S
|
||||||
$(call ASSEMBLE, $<, $@)
|
$(call ASSEMBLE, $<, $@)
|
||||||
@ -45,7 +45,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, $(OBJS))
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
dirlinks::
|
context::
|
||||||
|
|
||||||
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
||||||
$(call CATFILE, Make.dep, $^)
|
$(call CATFILE, Make.dep, $^)
|
||||||
|
@ -76,7 +76,7 @@ libmetal.zip:
|
|||||||
)
|
)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
dirlinks:: .libmetal_headers
|
context:: .libmetal_headers
|
||||||
|
|
||||||
distclean::
|
distclean::
|
||||||
$(call DELDIR, $(TOPDIR)$(DELIM)include$(DELIM)metal)
|
$(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)))
|
$(foreach header,$(headers),$(shell cp -rf $(header) $(TOPDIR)$(DELIM)include$(DELIM)openamp$(DELIM)))
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
dirlinks:: .openamp_headers
|
context:: .openamp_headers
|
||||||
|
|
||||||
distclean::
|
distclean::
|
||||||
$(call DELDIR, $(TOPDIR)$(DELIM)include$(DELIM)openamp$(DELIM))
|
$(call DELDIR, $(TOPDIR)$(DELIM)include$(DELIM)openamp$(DELIM))
|
||||||
|
@ -159,6 +159,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_OPENAMP),y)
|
ifeq ($(CONFIG_OPENAMP),y)
|
||||||
KERNDEPDIRS += openamp
|
KERNDEPDIRS += openamp
|
||||||
|
CONTEXTDIRS += openamp
|
||||||
else
|
else
|
||||||
CLEANDIRS += openamp
|
CLEANDIRS += openamp
|
||||||
endif
|
endif
|
||||||
|
@ -327,7 +327,6 @@ endif
|
|||||||
|
|
||||||
dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip drivers/platform
|
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 boards dirlinks
|
||||||
$(Q) $(MAKE) -C openamp dirlinks
|
|
||||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
||||||
|
|
||||||
# context
|
# context
|
||||||
|
@ -306,7 +306,6 @@ endif
|
|||||||
|
|
||||||
dirlinks: include\arch include\arch\board include\arch\chip $(ARCH_SRC)\board $(ARCH_SRC)\chip drivers\platform
|
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 boards dirlinks
|
||||||
$(Q) $(MAKE) -C openamp dirlinks
|
|
||||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
||||||
|
|
||||||
# context
|
# context
|
||||||
|
Loading…
Reference in New Issue
Block a user