Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109922811
D18783.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18783.diff
View Options
Index: head/gnu/usr.bin/binutils/ld/Makefile
===================================================================
--- head/gnu/usr.bin/binutils/ld/Makefile
+++ head/gnu/usr.bin/binutils/ld/Makefile
@@ -63,6 +63,9 @@
HOST= ${TARGET_TUPLE}
LIBSEARCHPATH= \"=/lib\":\"=/usr/lib\"
.for ext in ${ELF_SCR_EXT}
+.if !empty(LDSCRIPTS) && ${LDSCRIPTS:M${NATIVE_EMULATION}.${ext}} != ""
+.error "NATIVE_EMULATION scripts were added to LDSCRIPTS: ${LDSCRIPTS:M${NATIVE_EMULATION}.${ext}}"
+.endif
LDSCRIPTS+= ${NATIVE_EMULATION}.${ext}
ldscripts/${NATIVE_EMULATION}.${ext}: e${NATIVE_EMULATION}.c
.endfor
Index: head/gnu/usr.bin/binutils/ld/Makefile.mips
===================================================================
--- head/gnu/usr.bin/binutils/ld/Makefile.mips
+++ head/gnu/usr.bin/binutils/ld/Makefile.mips
@@ -18,14 +18,14 @@
MIPS_ABIS=elf32btsmip_fbsd elf32ltsmip_fbsd elf64btsmip_fbsd elf64ltsmip_fbsd \
elf32btsmipn32_fbsd elf32ltsmipn32_fbsd
.for abi in ${MIPS_ABIS}
-#.if (${abi} != ${NATIVE_EMULATION})
EMS+= ${abi}
-#.endif
+.if ${abi} != ${NATIVE_EMULATION}
.for ext in ${ELF_SCR_EXT}
LDSCRIPTS+= ${abi}.${ext}
ldscripts/${abi}.${ext}: e${abi}.c
.endfor
-SRCS+= e${abi}.c
+.endif
+SRCS+= e${abi}.c
CLEANFILES+= e${abi}.c
# nb: elf32 handles both elf32 and elf64 targets
e${abi}.c: ${.CURDIR}/${abi}.sh emultempl/elf32.em \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 12, 6:50 AM (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16607489
Default Alt Text
D18783.diff (1 KB)
Attached To
Mode
D18783: Avoid bsd.files.mk duplicate rule warning for bfd ldscripts
Attached
Detach File
Event Timeline
Log In to Comment