OBJECT_FMT in x68k/stand/xxboot
Tetsuya Isaki <[email protected]> Tue, 14 Jan 2020 11:22:25 +0900
| Newsgroups | gmane.os.netbsd.ports.x68k |
|---|---|
| Message-ID | <x71rs2ojz2.wl%[email protected]> |
I have a question.
arch/x68k/stand/xxboot/Makefile.xxboot has such .if statement.
Is the "OBJECT_FMT == ELF" condition (still?) necessary?
If no, may I remove .else part?
67 ${PROG}: $(OBJS)
68 ${_MKTARGET_LINK}
69 $(LD) $(LINKFLAGS) -o ${PROG} $(OBJS) $(LDLIBS) > $(PROG).map
70 @grep first_kbyte $(PROG).map
71 .if ${OBJECT_FMT} == "ELF"
:
88 .else
:
108 .endif
Thanks,
---
Tetsuya Isaki <[email protected] / [email protected]>