Build a 32-bit libstand under sys/boot/ for ppc64
This change is equivalent to r261567 for i386/amd64. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d60a1d1ef4
commit
90990e3bc1
@ -4,5 +4,6 @@
|
|||||||
SUBDIR+= fdt
|
SUBDIR+= fdt
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
SUBDIR+= libstand32
|
||||||
SUBDIR+= ofw
|
SUBDIR+= ofw
|
||||||
SUBDIR+= uboot
|
SUBDIR+= uboot
|
||||||
|
@ -89,10 +89,11 @@ LIBOFW= ${.OBJDIR}/../../ofw/libofw/libofw.a
|
|||||||
CFLAGS+= -I${.CURDIR}/../../ofw/libofw
|
CFLAGS+= -I${.CURDIR}/../../ofw/libofw
|
||||||
|
|
||||||
# where to get libstand from
|
# where to get libstand from
|
||||||
|
LIBSTAND= ${.OBJDIR}/../../libstand32/libstand.a
|
||||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
||||||
|
|
||||||
DPADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
|
DPADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
|
||||||
LDADD= ${LIBFICL} ${LIBOFW} -lstand
|
LDADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
|
||||||
|
|
||||||
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
|
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
|
||||||
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
|
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
|
||||||
|
@ -95,10 +95,11 @@ CFLAGS+= -Wa,-mppc64bridge
|
|||||||
#.include "${.CURDIR}/../../ofw/common/Makefile.inc"
|
#.include "${.CURDIR}/../../ofw/common/Makefile.inc"
|
||||||
|
|
||||||
# where to get libstand from
|
# where to get libstand from
|
||||||
|
LIBSTAND= ${.OBJDIR}/../../libstand32/libstand.a
|
||||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
||||||
|
|
||||||
DPADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
|
DPADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
|
||||||
LDADD= ${LIBFICL} ${LIBOFW} -lstand
|
LDADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
|
||||||
|
|
||||||
SC_DFLT_FONT=cp437
|
SC_DFLT_FONT=cp437
|
||||||
|
|
||||||
|
@ -95,10 +95,11 @@ CFLAGS+= -I${.CURDIR}/../../uboot/lib
|
|||||||
CFLAGS+= -I${.OBJDIR}/../../uboot/lib
|
CFLAGS+= -I${.OBJDIR}/../../uboot/lib
|
||||||
|
|
||||||
# where to get libstand from
|
# where to get libstand from
|
||||||
|
LIBSTAND= ${.OBJDIR}/../../libstand32/libstand.a
|
||||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
||||||
|
|
||||||
DPADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND}
|
DPADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND}
|
||||||
LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} -lstand
|
LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND}
|
||||||
|
|
||||||
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
|
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
|
||||||
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
|
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
|
||||||
|
Loading…
Reference in New Issue
Block a user