Re-link ubldr when any of its libraries change.
This commit is contained in:
parent
fe3155baa8
commit
7ca89258e5
@ -130,11 +130,11 @@ ldscript.abs:
|
|||||||
ldscript.pie:
|
ldscript.pie:
|
||||||
echo "UBLDR_LOADADDR = 0;" >${.TARGET}
|
echo "UBLDR_LOADADDR = 0;" >${.TARGET}
|
||||||
|
|
||||||
ubldr: ${OBJS} ldscript.abs ${.CURDIR}/ldscript.${MACHINE_CPUARCH}
|
ubldr: ${OBJS} ldscript.abs ${.CURDIR}/ldscript.${MACHINE_CPUARCH} ${DPADD}
|
||||||
${CC} ${CFLAGS} -T ldscript.abs ${LDFLAGS} \
|
${CC} ${CFLAGS} -T ldscript.abs ${LDFLAGS} \
|
||||||
-o ${.TARGET} ${OBJS} ${LDADD}
|
-o ${.TARGET} ${OBJS} ${LDADD}
|
||||||
|
|
||||||
ubldr.pie: ${OBJS} ldscript.pie ${.CURDIR}/ldscript.${MACHINE_CPUARCH}
|
ubldr.pie: ${OBJS} ldscript.pie ${.CURDIR}/ldscript.${MACHINE_CPUARCH} ${DPADD}
|
||||||
${CC} ${CFLAGS} -T ldscript.pie ${LDFLAGS} -pie -Wl,-Bsymbolic \
|
${CC} ${CFLAGS} -T ldscript.pie ${LDFLAGS} -pie -Wl,-Bsymbolic \
|
||||||
-o ${.TARGET} ${OBJS} ${LDADD}
|
-o ${.TARGET} ${OBJS} ${LDADD}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user