Date: Tue, 23 Apr 2019 16:56:10 -0500 From: Kyle Evans <kevans@freebsd.org> To: Mori Hiroki <yamori813@yahoo.co.jp> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: buildkernel error on Current Message-ID: <CACNAnaGGFdC_uKumcNsZEb3Y7RRSeb9hpcx7R-0BxGXCu7PUeQ@mail.gmail.com> In-Reply-To: <895291144.1903645.1556055964851.JavaMail.yahoo@jws700102.mail.ssk.yahoo.co.jp> References: <1776778690.291952.1556010226763.JavaMail.yahoo.ref@jws704004.mail.kks.yahoo.co.jp> <1776778690.291952.1556010226763.JavaMail.yahoo@jws704004.mail.kks.yahoo.co.jp> <895291144.1903645.1556055964851.JavaMail.yahoo@jws700102.mail.ssk.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 23, 2019 at 4:49 PM Mori Hiroki <yamori813@yahoo.co.jp> wrote: > > Hi > > This is cause of build error. > > https://svnweb.freebsd.org/base?view=revision&sortby=date&revision=345519 > > > This is patch. > > diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk > index a831e94e241..9f9df19c9ac 100644 > --- a/sys/conf/kern.post.mk > +++ b/sys/conf/kern.post.mk > @@ -8,6 +8,7 @@ > # should be defined in the kern.pre.mk so that port makefiles can > # override or augment them. > > +.if ${MACHINE_CPUARCH} != "mips" > .if !empty(FDT_DTS_FILE) > DTS+= ${FDT_DTS_FILE} > .endif > @@ -20,6 +21,7 @@CLEAN+= ${DTB} ${DTBO} > kernel-install: _dtbinstall > .ORDER: beforeinstall _dtbinstall > .endif > +.endif > > # In case the config had a makeoptions DESTDIR... > .if defined(DESTDIR) > > Hiroki Mori > Hi, Please try this patch: https://people.freebsd.org/~kevans/staticfix.diff The current behavior is just flat wrong. We shouldn't be installing FDT_DTS_FILE unless it also happens to appear in DTS. I think staticfix.diff makes more sense. Thanks, Kyle Evans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGGFdC_uKumcNsZEb3Y7RRSeb9hpcx7R-0BxGXCu7PUeQ>