From f9e9f228cb5be544bfa04a11ee12f156c1ca16a9 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Tue, 10 Sep 2019 07:14:38 -0600 Subject: [PATCH] tools/mkexport.sh: export LDSCRIPT and STRIP definition and align with Makefile.export. --- tools/Makefile.export | 2 ++ tools/mkexport.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/Makefile.export b/tools/Makefile.export index 90397e8991..56f30c6b7f 100644 --- a/tools/Makefile.export +++ b/tools/Makefile.export @@ -82,6 +82,7 @@ endif @echo "LD=\"$(LD)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "AR=\"$(AR)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "NM=\"$(NM)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "STRIP=\"$(STRIP)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "OBJCOPY=\"$(OBJCOPY)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "OBJDUMP=\"$(OBJDUMP)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "NXFLATLDFLAGS1=\"$(NXFLATLDFLAGS1)\"" >> $(EXPORTDIR)/makeinfo.sh @@ -97,6 +98,7 @@ endif @echo "DIRLINK=\"$(DIRLINK)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "DIRUNLINK=\"$(DIRUNLINK)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "MKDEP=\"$(MKDEP)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "LDSCRIPT=\"$(LDSCRIPT)\"" >> $(EXPORTDIR)/makeinfo.sh $(Q) chmod 755 $(EXPORTDIR)/makeinfo.sh clean: diff --git a/tools/mkexport.sh b/tools/mkexport.sh index 6046a22e77..4e8a139499 100755 --- a/tools/mkexport.sh +++ b/tools/mkexport.sh @@ -241,12 +241,14 @@ echo "OBJEXT = ${OBJEXT}" >>"${EXPORTDIR}/build/Make.defs" echo "LIBEXT = ${LIBEXT}" >>"${EXPORTDIR}/build/Make.defs" echo "EXEEXT = ${EXEEXT}" >>"${EXPORTDIR}/build/Make.defs" echo "HOSTCC = ${HOSTCC}" >>"${EXPORTDIR}/build/Make.defs" +echo "HOSTINCLUDES = ${HOSTINCLUDES}" >>"${EXPORTDIR}/build/Make.defs" echo "HOSTCFLAGS = ${HOSTCFLAGS}" >>"${EXPORTDIR}/build/Make.defs" echo "HOSTLDFLAGS = ${HOSTLDFLAGS}" >>"${EXPORTDIR}/build/Make.defs" echo "HOSTEXEEXT = ${HOSTEXEEXT}" >>"${EXPORTDIR}/build/Make.defs" echo "DIRLINK = ${DIRLINK}" >>"${EXPORTDIR}/build/Make.defs" echo "DIRUNLINK = ${DIRUNLINK}" >>"${EXPORTDIR}/build/Make.defs" echo "MKDEP = ${MKDEP}" >>"${EXPORTDIR}/build/Make.defs" +echo "LDSCRIPT = ${LDSCRIPT}" >>"${EXPORTDIR}/build/Make.defs" # Additional compilation options when the kernel is built