mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
libxx: use libxxabi, uClibxx in local code
N/A Change-Id: I8322f89eb3afb2e404eb2d0164f578785870a3d3
This commit is contained in:
@@ -29,11 +29,11 @@ libcxxabi: libcxxabi-$(LIBCXXABI_VERSION).src.tar.xz
|
||||
$(Q) patch -p0 < 0001-libc-abi-avoid-the-waring-__EXCEPTIONS-is-not-define.patch
|
||||
$(Q) touch $@
|
||||
|
||||
distclean::
|
||||
$(Q) $(DELFILE) libcxxabi-$(LIBCXXABI_VERSION).src.tar.xz
|
||||
$(call DELDIR, libcxxabi)
|
||||
#distclean::
|
||||
# $(Q) $(DELFILE) libcxxabi-$(LIBCXXABI_VERSION).src.tar.xz
|
||||
# $(call DELDIR, libcxxabi)
|
||||
|
||||
context:: libcxxabi
|
||||
#context:: libcxxabi
|
||||
|
||||
ifeq ($(CONFIG_LIBCXXABI), y)
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" LIBCXX_BUILDING_LIBCXXABI}
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
UCLIBCXX_VERSION=0.2.5
|
||||
|
||||
$(TOPDIR)/include/uClibc++:
|
||||
curl -O -L https://git.busybox.net/uClibc++/snapshot/uClibc++-$(UCLIBCXX_VERSION).tar.bz2
|
||||
$(Q) tar -xf uClibc++-$(UCLIBCXX_VERSION).tar.bz2
|
||||
$(Q) $(DELFILE) uClibc++-$(UCLIBCXX_VERSION).tar.bz2
|
||||
$(Q) mv uClibc++-$(UCLIBCXX_VERSION) uClibc++
|
||||
# curl -O -L https://git.busybox.net/uClibc++/snapshot/uClibc++-$(UCLIBCXX_VERSION).tar.bz2
|
||||
# $(Q) tar -xf uClibc++-$(UCLIBCXX_VERSION).tar.bz2
|
||||
# $(Q) $(DELFILE) uClibc++-$(UCLIBCXX_VERSION).tar.bz2
|
||||
# $(Q) mv uClibc++-$(UCLIBCXX_VERSION) uClibc++
|
||||
$(Q) $(DIRLINK) $(CURDIR)/uClibc++/include $(TOPDIR)/include/uClibc++
|
||||
$(Q) $(COPYFILE) $(CURDIR)/system_configuration.h $(TOPDIR)/include/uClibc++
|
||||
|
||||
@@ -33,7 +33,7 @@ context:: $(TOPDIR)/include/uClibc++
|
||||
distclean::
|
||||
$(Q) $(DELFILE) $(TOPDIR)/include/uClibc++/system_configuration.h
|
||||
$(Q) $(DIRUNLINK) $(TOPDIR)/include/uClibc++
|
||||
$(call DELDIR, uClibc++)
|
||||
# $(call DELDIR, uClibc++)
|
||||
|
||||
CPPSRCS += algorithm.cpp associative_base.cpp bitset.cpp char_traits.cpp
|
||||
CPPSRCS += complex.cpp del_op.cpp del_opnt.cpp del_ops.cpp del_opv.cpp
|
||||
|
||||
Reference in New Issue
Block a user