libs/libxx: Download C++ libraries during context.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
9732334b5d
commit
15fb70cb00
@ -58,7 +58,7 @@ OBJS = $(AOBJS) $(COBJS) $(CXXOBJS) $(CPPOBJS)
|
|||||||
BIN = libxx$(LIBEXT)
|
BIN = libxx$(LIBEXT)
|
||||||
|
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
.PHONY: depend clean distclean dirlinks
|
.PHONY: depend clean distclean context
|
||||||
|
|
||||||
$(AOBJS): %$(OBJEXT): %.S
|
$(AOBJS): %$(OBJEXT): %.S
|
||||||
$(call ASSEMBLE, $<, $@)
|
$(call ASSEMBLE, $<, $@)
|
||||||
@ -75,7 +75,7 @@ $(CPPOBJS): %$(OBJEXT): %.cpp
|
|||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, $(OBJS))
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
dirlinks::
|
context::
|
||||||
|
|
||||||
makedepfile: $(CXXSRCS:.cxx=.ddx) $(CPPSRCS:.cpp=.ddp)
|
makedepfile: $(CXXSRCS:.cxx=.ddx) $(CPPSRCS:.cpp=.ddp)
|
||||||
$(call CATFILE, Make.dep, $^)
|
$(call CATFILE, Make.dep, $^)
|
||||||
|
@ -33,7 +33,7 @@ libcxx: libcxx-$(VERSION).src.tar.xz
|
|||||||
$(TOPDIR)/include/libcxx: libcxx
|
$(TOPDIR)/include/libcxx: libcxx
|
||||||
$(Q) $(DIRLINK) $(CURDIR)/libcxx/include $(TOPDIR)/include/libcxx
|
$(Q) $(DIRLINK) $(CURDIR)/libcxx/include $(TOPDIR)/include/libcxx
|
||||||
|
|
||||||
dirlinks:: $(TOPDIR)/include/libcxx
|
context:: $(TOPDIR)/include/libcxx
|
||||||
|
|
||||||
distclean::
|
distclean::
|
||||||
$(Q) $(DELFILE) libcxx-$(VERSION).src.tar.xz
|
$(Q) $(DELFILE) libcxx-$(VERSION).src.tar.xz
|
||||||
|
@ -28,7 +28,7 @@ $(TOPDIR)/include/uClibc++:
|
|||||||
$(Q) $(DIRLINK) $(CURDIR)/uClibc++/include $(TOPDIR)/include/uClibc++
|
$(Q) $(DIRLINK) $(CURDIR)/uClibc++/include $(TOPDIR)/include/uClibc++
|
||||||
$(Q) $(COPYFILE) $(CURDIR)/system_configuration.h $(TOPDIR)/include/uClibc++
|
$(Q) $(COPYFILE) $(CURDIR)/system_configuration.h $(TOPDIR)/include/uClibc++
|
||||||
|
|
||||||
dirlinks:: $(TOPDIR)/include/uClibc++
|
context:: $(TOPDIR)/include/uClibc++
|
||||||
|
|
||||||
distclean::
|
distclean::
|
||||||
$(Q) $(DELFILE) $(TOPDIR)/include/uClibc++/system_configuration.h
|
$(Q) $(DELFILE) $(TOPDIR)/include/uClibc++/system_configuration.h
|
||||||
|
@ -97,6 +97,9 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CONTEXTDIRS += libs$(DELIM)libc
|
CONTEXTDIRS += libs$(DELIM)libc
|
||||||
|
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||||
|
CONTEXTDIRS += libs$(DELIM)libxx
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_NX),y)
|
ifeq ($(CONFIG_NX),y)
|
||||||
KERNDEPDIRS += graphics
|
KERNDEPDIRS += graphics
|
||||||
|
@ -326,7 +326,6 @@ endif
|
|||||||
$(Q) touch $@
|
$(Q) touch $@
|
||||||
|
|
||||||
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 libs/libxx dirlinks
|
|
||||||
$(Q) $(MAKE) -C boards dirlinks
|
$(Q) $(MAKE) -C boards dirlinks
|
||||||
$(Q) $(MAKE) -C openamp dirlinks
|
$(Q) $(MAKE) -C openamp dirlinks
|
||||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
||||||
|
@ -305,7 +305,6 @@ endif
|
|||||||
$(Q) touch $@
|
$(Q) touch $@
|
||||||
|
|
||||||
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 libs/libxx dirlinks
|
|
||||||
$(Q) $(MAKE) -C boards dirlinks
|
$(Q) $(MAKE) -C boards dirlinks
|
||||||
$(Q) $(MAKE) -C openamp dirlinks
|
$(Q) $(MAKE) -C openamp dirlinks
|
||||||
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
|
||||||
|
Loading…
Reference in New Issue
Block a user