Module Name: src
Committed By: joerg
Date: Thu Apr 23 00:11:29 UTC 2020
Modified Files:
src/sys/arch/sparc/stand/bootxx: Makefile
Log Message:
Uses LFS boot code
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc/stand/bootxx/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sparc/stand/bootxx/Makefile
diff -u src/sys/arch/sparc/stand/bootxx/Makefile:1.17 src/sys/arch/sparc/stand/bootxx/Makefile:1.18
--- src/sys/arch/sparc/stand/bootxx/Makefile:1.17 Sun Jan 12 15:26:31 2014
+++ src/sys/arch/sparc/stand/bootxx/Makefile Thu Apr 23 00:11:29 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/01/12 15:26:31 tsutsui Exp $
+# $NetBSD: Makefile,v 1.18 2020/04/23 00:11:29 joerg Exp $
PROG= bootxx
PROGSOURCE= bootxx.c
@@ -10,6 +10,11 @@ STRIPFLAG=
LINKFLAGS= -N -Ttext ${RELOC_BOOTXX} -e start
CLEANFILES+= ${PROG}.sym
+# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
+# accessors -- they don't actually dereference the resulting pointer,
+# just use it for type-checking.
+CWARNFLAGS.clang+= -Wno-error=address-of-packed-member
+
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBCRTI=