Re: kernel build dies with "unknown option"

From: David Wolfskill <david_at_catwhisker.org>
Date: Wed, 13 Feb 2019 15:35:15 -0800
On Wed, Feb 13, 2019 at 06:29:33PM -0500, Robert Huff wrote:
> 
> 	On a system running:
> 
> FreeBSD 13.0-CURRENT r343080 16 Jan 2019  amd64
> 
> 	I updated the source tree as of midnight US Eastern time, then
> ran buildworld.  That completed successfully.
> 	Then:
> 
> huff_at_jerusalem> make buildkernel KERNCONF=JERUSALEM
> make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_COMPILER: libclang will be built for bootstrapping a cross-compiler.
> make[1]: "/usr/src/Makefile.inc1" line 352: SYSTEM_LINKER: Determined that LD=ld matches the source tree.  Not bootstrapping a cross-linker.
> 
> --------------------------------------------------------------
> >>> Kernel build for JERUSALEM started on Wed Feb 13 18:20:44 EST 2019
> --------------------------------------------------------------
> ===> JERUSALEM
> mkdir -p /usr/obj/usr/src/amd64.amd64/sys
> 
> --------------------------------------------------------------
> >>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/src/sys/amd64/conf;  PATH=/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/amd64.amd64/sys/JERUSALEM  -I '/usr/src/sys/amd64/conf' '/usr/src/sys/amd64/conf/JERUSALEM'
> /usr/src/sys/amd64/conf/JERUSALEM: unknown option "AH_SUPPORT_AR5416"
> *** Error code 1
> 
> 	I do have:
> 
> options         AH_SUPPORT_AR5416  # enable AR5416 tx/rx descriptors
> options         AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
> options         ATH_ENABLE_11N     # Enable 802.11n support for AR5416 and later
> 
> 	in the config file.  (Full config file is appended.)
> ....

"svn log conf/NOTES" shows:

------------------------------------------------------------------------
r343427 | avos | 2019-01-25 05:48:40 -0800 (Fri, 25 Jan 2019) | 4 lines

Garbage collect AH_SUPPORT_AR5416 config option.

It does nothing since r318857.

------------------------------------------------------------------------

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Snow despite global warming is as expected as requiring energy to refrigerate.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Wed Feb 13 2019 - 22:35:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC