Date: Wed, 24 Apr 2019 06:46:04 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>, "kevans@freebsd.org" <kevans@freebsd.org> Subject: Re: buildkernel error on Current Message-ID: <895291144.1903645.1556055964851.JavaMail.yahoo@jws700102.mail.ssk.yahoo.co.jp> In-Reply-To: <1776778690.291952.1556010226763.JavaMail.yahoo@jws704004.mail.kks.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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi This is cause of build error. https://svnweb.freebsd.org/base?view=3Drevision&sortby=3Ddate&revision=3D34= 5519 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 @@ =C2=A0# should be defined in the kern.pre.mk so that port makefiles can =C2=A0# override or augment them. =C2=A0 +.if ${MACHINE_CPUARCH} !=3D "mips" =C2=A0.if !empty(FDT_DTS_FILE) =C2=A0DTS+=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=A0kernel-install: _dtbinstall =C2=A0.ORDER: beforeinstall _dtbinstall =C2=A0.endif +.endif =C2=A0 =C2=A0# In case the config had a makeoptions DESTDIR... =C2=A0.if defined(DESTDIR) Hiroki Mori ----- Original Message ----- > From: Mori Hiroki <yamori813@yahoo.co.jp> > To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> > Cc:=20 > Date: 2019/4/23, Tue 18:03 > Subject: buildkernel error on Current >=20 > Hi >=20 > I have q error on Mediatek now. >=20 > Why copy dtb to rootfs? Mediatek dtb is static. >=20 > -------------------------------------------------------------- >>>> Installing kernel Fon_FON2412 on Tue Apr 23 17:47:33 JST 2019 > -------------------------------------------------------------- > cd=20 > /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd= /mips.mipsel/sys/Fon_FON2412;=C2=A0=20 > MACHINE_ARCH=3Dmipsel=C2=A0 MACHINE=3Dmips=C2=A0 CPUTYPE=3D CC=3D"cc=20 > --sysroot=3D/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hi= roki/freebsd/mips.mipsel/tmp=20 > -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freeb= sd/mips.mipsel/tmp/usr/bin"=20 > CXX=3D"c++=C2=A0=20 > --sysroot=3D/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hi= roki/freebsd/mips.mipsel/tmp=20 > -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freeb= sd/mips.mipsel/tmp/usr/bin"=C2=A0=20 > CPP=3D"cpp=20 > --sysroot=3D/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hi= roki/freebsd/mips.mipsel/tmp=20 > -B/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freeb= sd/mips.mipsel/tmp/usr/bin"=C2=A0=20 > AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D""=C2=A0=20 > NM=3Dnm OBJCOPY=3D"objcopy"=C2=A0 RANLIB=3Dranlib STRINGS=3D=C2=A0 SIZE= =3D"size"=20 > PATH=3D/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/= freebsd/mips.mipsel/tmp/usr/sbin:/usr/home/hiroki/zobj/usr/home/hiroki/ZRou= ter/tmp/usr/home/hiroki/freebsd/mips.mipsel/tmp/usr/bin:/usr/home/hiroki/zo= bj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/mips.mipsel/tmp/lega= cy/usr/sbin:/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiro= ki/freebsd/mips.mipsel/tmp/legacy/usr/bin:/usr/home/hiroki/zobj/usr/home/hi= roki/ZRouter/tmp/usr/home/hiroki/freebsd/mips.mipsel/tmp/legacy/bin::/sbin:= /bin:/usr/sbin:/usr/bin=C2=A0=20 > make=C2=A0 KERNEL=3Dkernel install > test -d /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boo= t/dtb=20 > || install -d -o root -g wheel=20 > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/dtb > install -o root -g wheel -m 444 =C2=A0 FON2412J.dtb=20 > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/dtb/ > install:=20 > /home/hiroki/zobj//usr/home/hiroki/ZRouter/Fon_FON2412_rootfs/boot/dtb/FO= N2412J.dtb:=20 > chown/chgrp: Operation not permitted > *** Error code 71 >=20 > Hiroki Mori >=20 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips=20 > To unsubscribe, send any mail to=20 > "freebsd-mips-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?895291144.1903645.1556055964851.JavaMail.yahoo>