soc/software: remove libunwind
This commit is contained in:
parent
85e6716b6b
commit
f72e172ac3
|
@ -7,6 +7,3 @@
|
|||
[submodule "litex/soc/software/compiler_rt"]
|
||||
path = litex/soc/software/compiler_rt
|
||||
url = http://llvm.org/git/compiler-rt.git
|
||||
[submodule "litex/soc/software/unwinder"]
|
||||
path = litex/soc/software/unwinder
|
||||
url = https://github.com/whitequark/libunwind
|
||||
|
|
|
@ -15,7 +15,6 @@ soc_software_packages = [
|
|||
"libcompiler_rt",
|
||||
"libdyld",
|
||||
"libnet",
|
||||
"libunwind",
|
||||
"bios"
|
||||
]
|
||||
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
include ../include/generated/variables.mak
|
||||
include $(SOC_DIRECTORY)/software/common.mak
|
||||
|
||||
# lm32 is not supported
|
||||
ifeq ($(CPU),lm32)
|
||||
ALL_TARGET=
|
||||
else
|
||||
ALL_TARGET=libunwind.a
|
||||
endif
|
||||
|
||||
COMMONFLAGS+=-integrated-as \
|
||||
-I. -I$(SOC_DIRECTORY)/software/include/dyld/ -I$(SOC_DIRECTORY)/software/unwinder/include/ \
|
||||
-I$(LIBUNWIND_DIRECTORY) \
|
||||
-D__ELF__ -D__linux__ -D_LIBUNWIND_NO_HEAP -DNDEBUG
|
||||
|
||||
OBJECTS=UnwindRegistersSave.o UnwindRegistersRestore.o UnwindLevel1.o libunwind.o
|
||||
|
||||
all: $(ALL_TARGET)
|
||||
|
||||
libunwind.a: $(OBJECTS)
|
||||
$(AR) crs libunwind.a $(OBJECTS)
|
||||
|
||||
%.o: $(SOC_DIRECTORY)/software/unwinder/src/%.cpp
|
||||
$(compilexx)
|
||||
|
||||
%.o: $(SOC_DIRECTORY)/software/unwinder/src/%.c
|
||||
$(compile)
|
||||
|
||||
%.o: $(SOC_DIRECTORY)/software/unwinder/src/%.S
|
||||
$(assemble)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJECTS) libunwind.a .*~ *~
|
|
@ -1 +0,0 @@
|
|||
#define LIBCXXABI_ARM_EHABI 0
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 8b1196692d823a090a9879a695050baa7acc39ee
|
Loading…
Reference in New Issue