Date: Tue, 23 Apr 2019 15:57:05 -0600 From: Ian Lepore <ian@freebsd.org> To: Mori Hiroki <yamori813@yahoo.co.jp>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>, "kevans@freebsd.org" <kevans@freebsd.org> Subject: Re: buildkernel error on Current Message-ID: <4e40503fa2578b4ec7bc1b2332a01c277ed53bd2.camel@freebsd.org> 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 Wed, 2019-04-24 at 06:46 +0900, Mori Hiroki wrote: > Hi > > This is cause of build error. > > https://svnweb.freebsd.org/base?view=revision&sortby=date&revision=345519 > > Why do you think this is an error? It is not wrong to install the dtb file in its usual location even when it is compiled into the kernel. -- Ian > 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 > > > ----- Original Message ----- > > From: Mori Hiroki <yamori813@yahoo.co.jp> > > To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> > > Cc: > > Date: 2019/4/23, Tue 18:03 > > Subject: buildkernel error on Current > > > > Hi > > > > I have q error on Mediatek now. > > > > Why copy dtb to rootfs? Mediatek dtb is static. > > > > -------------------------------------------------------------- > > > > > Installing kernel Fon_FON2412 on Tue Apr 23 17:47:33 JST > > > > > 2019 > > > > -------------------------------------------------------------- > > cd > > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/f > > reebsd/mips.mipsel/sys/Fon_FON2412; > > MACHINE_ARCH=mipsel MACHINE=mips CPUTYPE= CC="cc > > -- > > sysroot=/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/ > > hiroki/freebsd/mips.mipsel/tmp > > -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki > > /freebsd/mips.mipsel/tmp/usr/bin" > > CXX="c++ > > -- > > sysroot=/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/ > > hiroki/freebsd/mips.mipsel/tmp > > -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki > > /freebsd/mips.mipsel/tmp/usr/bin" > > CPP="cpp > > -- > > sysroot=/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/ > > hiroki/freebsd/mips.mipsel/tmp > > -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki > > /freebsd/mips.mipsel/tmp/usr/bin" > > AS="as" AR="ar" LD="ld" LLVM_LINK="" > > NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" > > PATH=/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hir > > oki/freebsd/mips.mipsel/tmp/usr/sbin:/usr/home/hiroki/zobj/usr/home > > /hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/mips.mipsel/tmp/usr/bin > > :/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/ > > freebsd/mips.mipsel/tmp/legacy/usr/sbin:/usr/home/hiroki/zobj/usr/h > > ome/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/mips.mipsel/tmp/lega > > cy/usr/bin:/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/ho > > me/hiroki/freebsd/mips.mipsel/tmp/legacy/bin::/sbin:/bin:/usr/sbin: > > /usr/bin > > make KERNEL=kernel install > > test -d > > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/ > > dtb > > > > install -d -o root -g wheel > > > > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/ > > dtb > > install -o root -g wheel -m 444 FON2412J.dtb > > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/ > > dtb/ > > install: > > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/ > > dtb/FON2412J.dtb: > > chown/chgrp: Operation not permitted > > *** Error code 71 > > > > Hiroki Mori > > > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to > > "freebsd-mips-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to " > freebsd-mips-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e40503fa2578b4ec7bc1b2332a01c277ed53bd2.camel>