Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/stand/bootxx Uses LFS boot code



details:   https://anonhg.NetBSD.org/src/rev/f6065b60a24a
branches:  trunk
changeset: 1009415:f6065b60a24a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Apr 23 00:11:29 2020 +0000

description:
Uses LFS boot code

diffstat:

 sys/arch/sparc/stand/bootxx/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6fa8f43354a3 -r f6065b60a24a sys/arch/sparc/stand/bootxx/Makefile
--- a/sys/arch/sparc/stand/bootxx/Makefile      Thu Apr 23 00:09:26 2020 +0000
+++ b/sys/arch/sparc/stand/bootxx/Makefile      Thu Apr 23 00:11:29 2020 +0000
@@ -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 @@
 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=



Home | Main Index | Thread Index | Old Index