Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 07:16:14 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: buildkernel error on Current
Message-ID:  <1603573561.1916668.1556057774137.JavaMail.yahoo@jws700103.mail.ssk.yahoo.co.jp>
In-Reply-To: <CACNAnaGGFdC_uKumcNsZEb3Y7RRSeb9hpcx7R-0BxGXCu7PUeQ@mail.gmail.com>
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> <CACNAnaGGFdC_uKumcNsZEb3Y7RRSeb9hpcx7R-0BxGXCu7PUeQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi


----- Original Message -----
> From: Kyle Evans <kevans@freebsd.org>
> To: Mori Hiroki <yamori813@yahoo.co.jp>
> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
> Date: 2019/4/24, Wed 06:56
> Subject: Re: buildkernel error on Current
> 
> 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 

Your patch is fine. I could buildkernel for mediatek.

Thanks

Hiroki Mori

> 
> 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?1603573561.1916668.1556057774137.JavaMail.yahoo>