Date: Wed, 10 Jul 2019 19:02:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239119] [patch] [spi] sys/modules/spi cannot be built outside of kernel build environment Message-ID: <bug-239119-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239119 Bug ID: 239119 Summary: [patch] [spi] sys/modules/spi cannot be built outside of kernel build environment Product: Base System Version: 11.3-STABLE Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: eugen@freebsd.org CC: loos@FreeBSD.org Attachment #205669 maintainer-approval?(loos@FreeBSD.org) Flags: Flags: maintainer-feedback?(loos@FreeBSD.org), exp-run-, mfc-stable11-, mfc-stable12- Created attachment 205669 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205669&action= =3Dedit proposed fix For FreeBSD 11.3-STABLE (r349872): # cd /usr/src/sys/modules/spi # make =3D=3D=3D> sys/modules/spi (all) =3D=3D=3D> sys/modules/spi/../spigen (all) machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h :> opt_platform.h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/spibus/spibus_if.= m -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdin= c=20=20 -I. -I/usr/src/sys - fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD=20 -MF.depend.spigen.o -MTspig en.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototyp es -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__ =3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equali= ty -Wno-error-unused-fun ction -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:1999 -c /usr/src/sys/dev/spibus/spigen.c = -o spigen.o /usr/src/sys/dev/spibus/spigen.c:29:10: fatal error: 'opt_spi.h' file not f= ound #include "opt_spi.h" ^~~~~~~~~~~ 1 error generated. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239119-227>