mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
a4227c6a5b
and powerpc64. Other arches currently do not support this feature. Reminded by: kib
21 lines
513 B
Makefile
21 lines
513 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= uathload
|
|
MAN= uathload.8
|
|
|
|
SRCS= uathload.c ar5523.bin
|
|
|
|
CLEANFILES= ar5523.bin
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
|
|
LDFLAGS+= -Wl,-z,noexecstack
|
|
.endif
|
|
|
|
ar5523.bin: ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu
|
|
uudecode -p ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu > ${.TARGET}
|
|
|
|
ar5523.o: ar5523.bin
|
|
${LD} -b binary -d -warn-common -r -d -o ${.TARGET} ar5523.bin
|
|
|
|
.include <bsd.prog.mk>
|