Skip to contentSkip to conversation

package/newlib-bare-metal: fix build without makeinfo

PATCH In review Fabrice Fontaine 2 participants 2 messages Mar 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/newlib-bare-metal: fix build without makeinfo

Fix the following build failure without makeinfo raised since the addition of the package in commit 3b95ff658bf4859eb5cffd28cbbedd1826fad9a6:

make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/newlib-bare-metal-4.4.0/microblazeel-xilinx-elf/libgloss'
MAKEINFO ../.././libgloss/doc/porting.info
/home/buildroot/autobuild/instance-2/output-1/build/newlib-bare-metal-4.4.0/missing: line 81: makeinfo: command not found

Fixes 3b95ff658bf4859eb5cffd28cbbedd1826fad9a6

- http://autobuild.buildroot.org/results/23e6641cbce62258310c300f8aed5d6a76973d72

---
 package/newlib-bare-metal/newlib-bare-metal.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/newlib-bare-metal/newlib-bare-metal.mk +4 -2
index a6b4207e71..f27da4284b 100644
@@ -18,6 +18,7 @@ NEWLIB_BARE_METAL_LICENSE_FILES = \
 
 NEWLIB_BARE_METAL_INSTALL_STAGING = YES
 NEWLIB_BARE_METAL_INSTALL_TARGET = NO
+NEWLIB_BARE_METAL_MAKE_OPTS = MAKEINFO=true
 
 define NEWLIB_BARE_METAL_CONFIGURE_CMDS
 	(cd $(@D) && \
@@ -34,11 +35,12 @@ define NEWLIB_BARE_METAL_CONFIGURE_CMDS
 endef
 
 define NEWLIB_BARE_METAL_BUILD_CMDS
-	PATH=$(BR_PATH) $(MAKE1) -C $(@D)
+	PATH=$(BR_PATH) $(MAKE1) $(NEWLIB_BARE_METAL_MAKE_OPTS) -C $(@D)
 endef
 
 define NEWLIB_BARE_METAL_INSTALL_STAGING_CMDS
-	PATH=$(BR_PATH) $(MAKE1) -C $(@D) DESTDIR=$(TOOLCHAIN_BARE_METAL_BUILDROOT_SYSROOT) install
+	PATH=$(BR_PATH) $(MAKE1) -C $(@D) $(NEWLIB_BARE_METAL_MAKE_OPTS) \
+		DESTDIR=$(TOOLCHAIN_BARE_METAL_BUILDROOT_SYSROOT) install
 endef
 
 define NEWLIB_BARE_METAL_FIXUP
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fix the following build failure without makeinfo raised since the addition of the package in commit 3b95ff658bf4859eb5cffd28cbbedd1826fad9a6:

Quoted 8 lines

make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/newlib-bare-metal-4.4.0/microblazeel-xilinx-elf/libgloss'
MAKEINFO ../.././libgloss/doc/porting.info
/home/buildroot/autobuild/instance-2/output-1/build/newlib-bare-metal-4.4.0/missing: line 81: makeinfo: command not found

Fixes 3b95ff658bf4859eb5cffd28cbbedd1826fad9a6

- http://autobuild.buildroot.org/results/23e6641cbce62258310c300f8aed5d6a76973d72

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot