Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

release build with RELEASEMACHINEDIR for bootarm fails



I have:

RELEASEDIR=/home/netbsd/netbsd-9/release
RELEASEMACHINEDIR=evbarm-earmv7hf

which I believe used to work, but now errors on a release build here:

--- check_RELEASEDIR ---
--- release ---
/home/netbsd/netbsd-9/tools.x86_64.evbarm-earmv7hf/bin/armv7--netbsdelf-eabihf-install -c -p -r -m 444 bootarm.efi  /home/netbsd/netbsd-9/release/evbarm/installation/misc
armv7--netbsdelf-eabihf-install: /home/netbsd/netbsd-9/release/evbarm/installation/misc.inst.RNCRnk: mkstemp: No such file or directory
*** [release] Error code 1
nbmake[2]: stopped in /home/netbsd/netbsd-9/src/sys/stand/efiboot/bootarm
1 error

Looks like the following patch is needed? A quick grep shows a bunch
more instances - but I'm not sure how common this arrangement is
outside of arm.

diff --git a/sys/stand/efiboot/bootarm/Makefile b/sys/stand/efiboot/bootarm/Makefile
index e9e0484ec1da..df0007ffc20e 100644
--- a/sys/stand/efiboot/bootarm/Makefile
+++ b/sys/stand/efiboot/bootarm/Makefile
@@ -17,4 +17,4 @@ LDFLAGS+=	-N
 
 release: check_RELEASEDIR
 	${HOST_INSTALL_FILE} -m ${BINMODE} ${PROG} \
-		${RELEASEDIR}/${MACHINE}/installation/misc
+		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index