mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
Pass toplevel make to the script to allow -j greater than 1
This commit is contained in:
committed by
Gregory Nutt
parent
a95e426d35
commit
aecc033131
+1
-1
@@ -507,7 +507,7 @@ gconfig: apps_preconfig
|
|||||||
# that the archiver is 'ar'
|
# that the archiver is 'ar'
|
||||||
|
|
||||||
export: pass2deps
|
export: pass2deps
|
||||||
$(Q) $(MKEXPORT) $(MKEXPORT_ARGS) -l "$(EXPORTLIBS)"
|
$(Q) MAKE=${MAKE} $(MKEXPORT) $(MKEXPORT_ARGS) -l "$(EXPORTLIBS)"
|
||||||
|
|
||||||
# General housekeeping targets: dependencies, cleaning, etc.
|
# General housekeeping targets: dependencies, cleaning, etc.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-2
@@ -162,7 +162,7 @@ grep -v "WINTOOL[ \t]*=[ \t]y" "${TOPDIR}/Make.defs" > "${EXPORTDIR}/Make.defs"
|
|||||||
|
|
||||||
# Extract information from the Make.defs file. A Makefile can do this best
|
# Extract information from the Make.defs file. A Makefile can do this best
|
||||||
|
|
||||||
make -C "${TOPDIR}/tools" -f Makefile.export TOPDIR="${TOPDIR}" EXPORTDIR="${EXPORTDIR}"
|
${MAKE} -C "${TOPDIR}/tools" -f Makefile.export TOPDIR="${TOPDIR}" EXPORTDIR="${EXPORTDIR}"
|
||||||
source "${EXPORTDIR}/makeinfo.sh"
|
source "${EXPORTDIR}/makeinfo.sh"
|
||||||
rm -f "${EXPORTDIR}/makeinfo.sh"
|
rm -f "${EXPORTDIR}/makeinfo.sh"
|
||||||
rm -f "${EXPORTDIR}/Make.defs"
|
rm -f "${EXPORTDIR}/Make.defs"
|
||||||
@@ -236,7 +236,7 @@ cp -LR -p "${TOPDIR}/include" "${EXPORTDIR}/." || \
|
|||||||
|
|
||||||
# Copy the startup object file(s)
|
# Copy the startup object file(s)
|
||||||
|
|
||||||
make -C ${ARCHDIR} export_startup TOPDIR=${TOPDIR} EXPORT_DIR="${EXPORTDIR}"
|
${MAKE} -C ${ARCHDIR} export_startup TOPDIR=${TOPDIR} EXPORT_DIR="${EXPORTDIR}"
|
||||||
|
|
||||||
# Copy architecture-specific header files into the arch export sub-directory.
|
# Copy architecture-specific header files into the arch export sub-directory.
|
||||||
# This is tricky because each architecture does things in a little different
|
# This is tricky because each architecture does things in a little different
|
||||||
|
|||||||
Reference in New Issue
Block a user