restore build with --enable-maintainer-mode

Message ID 20240521215348.628378-1-indu.bhagat@oracle.com
State New
Headers
Series restore build with --enable-maintainer-mode |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Testing passed

Commit Message

Indu Bhagat May 21, 2024, 9:53 p.m. UTC
  A build with --enable-maintainer-mode is currently failing with:

make[4]: *** No rule to make target '<SRC>/gas/config/te-ia64aix.h',
         needed by '<SRC>/gas/po/gas.pot'.  Stop.
make[4]: Leaving directory '<$OBJ>/gas/po'
make[3]: *** [Makefile:1695: all-recursive] Error 1
...

As config/te-ia64aix.h is now removed, remove the corresponding fragment
from the makefile.

gas/
        * Makefile.am: Remove config/te-ia64aix.h.
        * Makefile.in: Regenerate.
        * po/POTFILES.in: Regenerate.
---
 gas/Makefile.am    | 1 -
 gas/Makefile.in    | 1 -
 gas/po/POTFILES.in | 1 -
 3 files changed, 3 deletions(-)
  

Comments

Jan Beulich May 22, 2024, 5:51 a.m. UTC | #1
On 21.05.2024 23:53, Indu Bhagat wrote:
> A build with --enable-maintainer-mode is currently failing with:
> 
> make[4]: *** No rule to make target '<SRC>/gas/config/te-ia64aix.h',
>          needed by '<SRC>/gas/po/gas.pot'.  Stop.
> make[4]: Leaving directory '<$OBJ>/gas/po'
> make[3]: *** [Makefile:1695: all-recursive] Error 1
> ...
> 
> As config/te-ia64aix.h is now removed, remove the corresponding fragment
> from the makefile.
> 
> gas/
>         * Makefile.am: Remove config/te-ia64aix.h.
>         * Makefile.in: Regenerate.
>         * po/POTFILES.in: Regenerate.

Obviously okay; how in the world did I miss those? Thanks for taking care
of correcting my flaw.

Jan

> --- a/gas/Makefile.am
> +++ b/gas/Makefile.am
> @@ -342,7 +342,6 @@ TARG_ENV_HFILES = \
>  	config/te-hppa.h \
>  	config/te-hppa64.h \
>  	config/te-hppalinux64.h \
> -	config/te-ia64aix.h \
>  	config/te-interix.h \
>  	config/te-lynx.h \
>  	config/te-macos.h \
> diff --git a/gas/Makefile.in b/gas/Makefile.in
> index bc25765cb5b..b57516369d7 100644
> --- a/gas/Makefile.in
> +++ b/gas/Makefile.in
> @@ -841,7 +841,6 @@ TARG_ENV_HFILES = \
>  	config/te-hppa.h \
>  	config/te-hppa64.h \
>  	config/te-hppalinux64.h \
> -	config/te-ia64aix.h \
>  	config/te-interix.h \
>  	config/te-lynx.h \
>  	config/te-macos.h \
> diff --git a/gas/po/POTFILES.in b/gas/po/POTFILES.in
> index 08204471971..5281cbbf6b1 100644
> --- a/gas/po/POTFILES.in
> +++ b/gas/po/POTFILES.in
> @@ -204,7 +204,6 @@ config/te-go32.h
>  config/te-hppa.h
>  config/te-hppa64.h
>  config/te-hppalinux64.h
> -config/te-ia64aix.h
>  config/te-interix.h
>  config/te-lynx.h
>  config/te-macos.h
  

Patch

diff --git a/gas/Makefile.am b/gas/Makefile.am
index 37ca0952f7e..b9b9e18be03 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -342,7 +342,6 @@  TARG_ENV_HFILES = \
 	config/te-hppa.h \
 	config/te-hppa64.h \
 	config/te-hppalinux64.h \
-	config/te-ia64aix.h \
 	config/te-interix.h \
 	config/te-lynx.h \
 	config/te-macos.h \
diff --git a/gas/Makefile.in b/gas/Makefile.in
index bc25765cb5b..b57516369d7 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -841,7 +841,6 @@  TARG_ENV_HFILES = \
 	config/te-hppa.h \
 	config/te-hppa64.h \
 	config/te-hppalinux64.h \
-	config/te-ia64aix.h \
 	config/te-interix.h \
 	config/te-lynx.h \
 	config/te-macos.h \
diff --git a/gas/po/POTFILES.in b/gas/po/POTFILES.in
index 08204471971..5281cbbf6b1 100644
--- a/gas/po/POTFILES.in
+++ b/gas/po/POTFILES.in
@@ -204,7 +204,6 @@  config/te-go32.h
 config/te-hppa.h
 config/te-hppa64.h
 config/te-hppalinux64.h
-config/te-ia64aix.h
 config/te-interix.h
 config/te-lynx.h
 config/te-macos.h