aboutsummaryrefslogtreecommitdiff
path: root/stand/uboot/lib/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-12-14 21:39:12 +0000
committerWarner Losh <imp@FreeBSD.org>2021-12-14 22:27:47 +0000
commit91d462192db0dc33dbc4ca38f2b24d74c5ea2987 (patch)
tree3ba52b889541a3643e6f7b5e0cee960cd53fd92a /stand/uboot/lib/Makefile
parentaaaa5a2e68e256101c9737c30ad142f1c3f05131 (diff)
downloadsrc-91d462192db0dc33dbc4ca38f2b24d74c5ea2987.tar.gz
src-91d462192db0dc33dbc4ca38f2b24d74c5ea2987.zip
loader: move all gfx_fb.c stubs to common/gfx_fb_stub.c
All these files are the same, modulo one comment. Move them all into common/gfx_fb_stub.c and adjust Makefiles accordingly. Sponsored by: Netflix Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D33428
Diffstat (limited to 'stand/uboot/lib/Makefile')
-rw-r--r--stand/uboot/lib/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/stand/uboot/lib/Makefile b/stand/uboot/lib/Makefile
index 448188c93058..e5d35de59ffd 100644
--- a/stand/uboot/lib/Makefile
+++ b/stand/uboot/lib/Makefile
@@ -8,10 +8,9 @@ LIB= uboot
WARNS?= 2
SRCS= console.c copy.c devicename.c elf_freebsd.c glue.c
-SRCS+= module.c net.c reboot.c time.c gfx_fb.c
+SRCS+= module.c net.c reboot.c time.c gfx_fb_stub.c
-CFLAGS.gfx_fb.c += -I${SRCTOP}/contrib/pnglite
-CFLAGS.gfx_fb.c += -I${SRCTOP}/sys/teken
+CFLAGS.gfx_fb_stub.c += -I${SRCTOP}/contrib/pnglite -I${SRCTOP}/sys/teken
CFLAGS.glue.c+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
.if ${LOADER_DISK_SUPPORT:Uyes} == "yes"