Re: r265431: make[4]: "/usr/src/sys/modules/drm2/Makefile" line
--Sig_/pYaQjbRQ5OBDV_L_k5rhW3H
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Am Tue, 06 May 2014 13:19:21 +0200
Stefan Esser <se@freebsd.org> schrieb:
> Am 06.05.2014 12:40, schrieb O. Hartmann:
> > A buildkernel fails on r265431 with the following error:
> >=20
> > =3D=3D=3D> drm2 (cleandir) make[4]: "/usr/src/sys/modules/drm2/Makefile"
> > line 7: Malformed conditional (${MK_SOURCELESS_UCODE} !=3D "no")
> > make[4]: Fatal errors encountered -- cannot continue make[4]:
> > stopped in /usr/src/sys/modules/drm2 *** [cleandir] Error code 1
>=20
> I just committed a fix (r265433). There were two sub-ordinate Makefiles
> that missed an .include of src.opts.mk:
>=20
> Index: sys/conf/kmod.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/conf/kmod.mk~
> +++ sys/conf/kmod.mk
> @@ -72,6 +72,7 @@
> .error "Do not use KMODDEPS on 5.0+; use MODULE_VERSION/MODULE_DEPEND"
> .endif
>=20
> +.include <src.opts.mk>
> .include <bsd.init.mk>
> .include <bsd.compiler.mk>
>=20
> Index: sys/modules/drm2/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/modules/drm2/Makefile~
> +++ sys/modules/drm2/Makefile
> @@ -1,5 +1,6 @@
> # $FreeBSD$
>=20
> +.include <src.opts.mk>
> .include <bsd.own.mk>
>=20
> .if ${MACHINE_CPUARCH} =3D=3D "amd64"
>=20
> Not sure whether this is the best way to resolve this problem, but
> it let me compile a kernel again ...
>=20
> Regards, STefan
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Ah,
that helped,
Dankesch=C3=B6n.
Oliver
--Sig_/pYaQjbRQ5OBDV_L_k5rhW3H
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
iQEcBAEBAgAGBQJTaMucAAoJEOgBcD7A/5N84g8H/0R/bZXpu0QSoTpCgreySH2A
ocav/kuPHB0VrlJRucEMIN+xvi53SYhl16GJtNs6VT7pIH8JIkFxr8zg+QU/5KOG
9LawxyHx07WiXXV/GE7FpbyrX2Qmz3GGz7/7uQSgMdtayqyBouWUKaU2Ph1IHkFE
FDCH5ecJRchulJLT6A+gkg/Awi9ao5R6bu5lrSY99VxrM50ZBg03Qlwk7OMib/UR
X3SbK8PghhNsgOi/Gwb2/aAA4yhXrlm8PF8XzHsis8JK8tXTW+jpNDCgREYjPqHU
evK+1ApGISfqwX7zoigBBqqL90OSzsN0rXS+m/R3FZQnVHy/lh2aBIRGf2OJQhI=
=WZ88
-----END PGP SIGNATURE-----
--Sig_/pYaQjbRQ5OBDV_L_k5rhW3H--
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):