Date: Tue, 6 Mar 2012 22:53:25 +0100 From: Monthadar Al Jaberi <monthadar@gmail.com> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: Marko Zec <zec@fer.hr>, freebsd-virtualization@freebsd.org Subject: Re: VIMAGE + kldload wlan + kldload wtap panic Message-ID: <CA%2BsBSoJKxFNupKMb%2BO0_p6%2B-cv_hqOopqdQwRdbF1k%2B0Pcu6Kw@mail.gmail.com> In-Reply-To: <CAJ-VmonjsTDKT_NyHfDjby9TSf6zrfV0PK4RShK2fBNoDtF%2B4Q@mail.gmail.com> References: <CA%2BsBSo%2Bt=p0HLbyOH87DOJWWYn%2Be%2Bok7cwRiL1c1=gCw5=KTqg@mail.gmail.com> <201203062245.41155.zec@fer.hr> <CAJ-Vmo=dyOwVs4G09=LXwxc%2Bs%2BuUh%2B-WFTFkmMMYxHym1KOOgw@mail.gmail.com> <201203062251.39786.zec@fer.hr> <CAJ-VmonjsTDKT_NyHfDjby9TSf6zrfV0PK4RShK2fBNoDtF%2B4Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
something like .if defined(KERNBUILDDIR) MKDEP= -include ${KERNBUILDDIR}/opt_global.h .else CFLAGS+= -include opt_global.h MKDEP= -include opt_global.h opt_global.h: echo "#define VIMAGE 1" > ${.TARGET} .endif ? On Tue, Mar 6, 2012 at 10:52 PM, Adrian Chadd <adrian.chadd@gmail.com> wrote: > On 6 March 2012 13:51, Marko Zec <zec@fer.hr> wrote: >> On Tuesday 06 March 2012 22:49:56 Adrian Chadd wrote: >>> Wait a sec. Is it possible that the macro is a no-op when we're >>> building modules w/ VNET? >> >> Yes that's it, the VNET stuff resolves (mostly) to whitespace when options >> VIMAGE is not on! > > So the question is - how the heck are the modules supposed to pull in > the VNET config? > > is there a missing opt_<x>.h somewhere? > > > Adrian -- Monthadar Al Jaberi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BsBSoJKxFNupKMb%2BO0_p6%2B-cv_hqOopqdQwRdbF1k%2B0Pcu6Kw>