Uses LFS boot code

This commit is contained in:
joerg 2020-04-23 00:11:29 +00:00
parent ac488e33c7
commit a4b143f088

View File

@ -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=