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
>=20
> On Tue, Apr 23, 2019 at 4:49 PM Mori Hiroki <yamori813@yahoo.co.jp> wrote=
:
>>=20
>>  Hi
>>=20
>>  This is cause of build error.
>>=20
>>=20
> https://svnweb.freebsd.org/base?view=3Drevision&sortby=3Ddate&revision=3D=
345519=20
>=20
>>=20
>>=20
>>  This is patch.
>>=20
>>  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 @@
>> =C2=A0 # should be defined in the kern.pre.mk so that port makefiles can
>> =C2=A0 # override or augment them.
>>=20
>>  +.if ${MACHINE_CPUARCH} !=3D "mips"
>> =C2=A0 .if !empty(FDT_DTS_FILE)
>> =C2=A0 DTS+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 ${FDT_DTS_FILE}
>> =C2=A0 .endif
>>  @@ -20,6 +21,7 @@CLEAN+=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0  ${DTB} ${DTBO}
>> =C2=A0 kernel-install: _dtbinstall
>> =C2=A0 .ORDER: beforeinstall _dtbinstall
>> =C2=A0 .endif
>>  +.endif
>>=20
>> =C2=A0 # In case the config had a makeoptions DESTDIR...
>> =C2=A0 .if defined(DESTDIR)
>>=20
>>  Hiroki Mori
>>=20
>=20
> Hi,
>=20
> Please try this patch: https://people.freebsd.org/~kevans/staticfix.diff=
=C2=A0

Your patch is fine. I could buildkernel for mediatek.

Thanks

Hiroki Mori

>=20
> 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.
>=20
> Thanks,
>=20
> Kyle Evans
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1603573561.1916668.1556057774137.JavaMail.yahoo>