tools/export: Add LDELFFLAGS to mkexport.sh.
Some targets, such as qemu-rv support multiple architectures. The required flags need to passed to the linker when built "out-of-tree" in the application directory.
This commit is contained in:
parent
7ce78dd66a
commit
6a357797cd
@ -67,6 +67,7 @@ ifdef ARCHSCRIPT
|
||||
endif
|
||||
@echo "LD=\"$(LD)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "LDENDGROUP=\"$(LDENDGROUP)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "LDELFFLAGS=\"$(LDELFFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "LDFLAGS=\"$(LDFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "LDLIBS=\"$(LDLIBS)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
@echo "LDSCRIPT=\"$(LDSCRIPT)\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
|
@ -250,6 +250,7 @@ echo "HOSTCFLAGS = ${HOSTCFLAGS}" >>"${EXPORTDIR}/scripts/Make.defs"
|
||||
echo "HOSTLDFLAGS = ${HOSTLDFLAGS}" >>"${EXPORTDIR}/scripts/Make.defs"
|
||||
echo "HOSTEXEEXT = ${HOSTEXEEXT}" >>"${EXPORTDIR}/scripts/Make.defs"
|
||||
echo "LDNAME = ${LDNAME}" >>"${EXPORTDIR}/scripts/Make.defs"
|
||||
echo "LDELFFLAGS = ${LDELFFLAGS}" >>"${EXPORTDIR}/scripts/Make.defs"
|
||||
|
||||
# Additional compilation options when the kernel is built
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user