Module Name:    src
Committed By:   christos
Date:           Sat Aug 19 22:58:15 UTC 2023

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
Add elfedit (needed to tag binaries as linux) from GSoC 2023 (Theodore Preduta)


To generate a diff of this commit:
cvs rdiff -u -r1.1356 -r1.1357 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.1356 src/share/mk/bsd.own.mk:1.1357
--- src/share/mk/bsd.own.mk:1.1356	Sun Aug 13 17:52:32 2023
+++ src/share/mk/bsd.own.mk	Sat Aug 19 18:58:15 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1356 2023/08/13 21:52:32 wiz Exp $
+#	$NetBSD: bsd.own.mk,v 1.1357 2023/08/19 22:58:15 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -327,6 +327,7 @@ _TOOL_PREFIX?=	nb
 .if defined(EXTERNAL_TOOLCHAIN)						# {
 AR=		${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-ar
 AS=		${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-as
+ELFEDIT=	${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-elfedit
 LD=		${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-ld
 NM=		${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-nm
 OBJCOPY=	${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-objcopy
@@ -352,6 +353,7 @@ TOOL_OBJC.clang=	${EXTERNAL_TOOLCHAIN}/b
 .if ${USETOOLS_BINUTILS:Uyes} == "yes"					#  {
 AR=		${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ar
 AS=		${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-as
+ELFEDIT=	${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-elfedit
 LD=		${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ld
 NM=		${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-nm
 OBJCOPY=	${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-objcopy

Reply via email to