diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2024-04-10 09:55:00 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2024-04-15 09:58:57 +0000 |
commit | 21c7e1169864df6ec90743f1ddc14627b37533e2 (patch) | |
tree | 8a9feddc166fd2d53eddc6d5bc597bbb13c00e8f | |
parent | 41b418b2fb2d1d6c85df524d695d922ec731b669 (diff) |
and enable it with binutils master config
Change-Id: I5c51cb539d01ebd5adcc77cd1ab715e4bfe6cc48
-rw-r--r-- | config/master/binutils.conf | 2 | ||||
-rw-r--r-- | lib/make.sh | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/config/master/binutils.conf b/config/master/binutils.conf index f3c096a3..bf061d77 100644 --- a/config/master/binutils.conf +++ b/config/master/binutils.conf @@ -1,2 +1,2 @@ latest="binutils-gdb.git~master" -default_configure_flags="$default_configure_flags --enable-gprofng=no" +default_configure_flags="$default_configure_flags" diff --git a/lib/make.sh b/lib/make.sh index 7fd1e1c1..f64b9cb9 100644 --- a/lib/make.sh +++ b/lib/make.sh @@ -1784,13 +1784,18 @@ make_docs() # so we build both all targets and ignore the error. record_artifact "log_makedoc_${component}${2:+-$2}" "${logfile}" dryrun "echo NOTE: Installing docs in ${builddir} | tee -a ${logfile}" - for subdir in bfd binutils gas gold gprof ld + for subdir in bfd binutils gas gold gprof gprofng ld do # Some configurations want to disable some of the # components (eg gold), so ${build}/${subdir} may not # exist. Skip them in this case. if [ -d ${builddir}/${subdir} ]; then - dryrun "make SHELL=${bash_shell} ${make_flags} -w -C ${builddir}/${subdir} diststuff install-man 2>&1 | tee -a ${logfile}" + local man_target="diststuff install-man" + # gprofng does not support "diststuff" + if [ "$subdir" = "gprofng" ]; then + man_target="install-man" + fi + dryrun "make SHELL=${bash_shell} ${make_flags} -w -C ${builddir}/${subdir} ${man_target} 2>&1 | tee -a ${logfile}" if test $? -ne 0; then error "make docs failed in ${subdir}" return 1; |