Date: Mon, 06 Mar 2023 14:12:35 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269994] build options have different kernel and userland defaults Message-ID: <bug-269994-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269994 Bug ID: 269994 Summary: build options have different kernel and userland defaults Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org Options EFI and FDT have different defaults in src.opts.mk and kern.conf.mk, prompting warnings from makeman: amd64/amd64: ignoring duplicate option FDT arm/armv6: ignoring duplicate option FDT arm/armv7: ignoring duplicate option FDT arm64/aarch64: ignoring duplicate option FDT i386/i386: ignoring duplicate option FDT powerpc/powerpc: ignoring duplicate option EFI powerpc/powerpc: ignoring duplicate option FDT powerpc/powerpc64: ignoring duplicate option EFI powerpc/powerpc64: ignoring duplicate option FDT powerpc/powerpc64le: ignoring duplicate option EFI powerpc/powerpc64le: ignoring duplicate option FDT riscv/riscv64: ignoring duplicate option FDT riscv/riscv64sf: ignoring duplicate option FDT Both are in src.conf.mk __DEFAULT_YES_OPTIONS, but EFI also has: # EFI doesn't exist on powerpc (well, officially) .if ${__T:Mpowerpc*} BROKEN_OPTIONS+=3DEFI .endif kern.opts.mk has EFI in __DEFAULT_YES_OPTIONS, but: # EFI doesn't exist on powerpc, or riscv .if ${MACHINE:Mpowerpc} || ${MACHINE:Mriscv} BROKEN_OPTIONS+=3DEFI .endif while for FDT it has: .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D "amd64" __DEFAULT_NO_OPTIONS +=3D FDT .else __DEFAULT_YES_OPTIONS +=3D FDT .endif --=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-269994-227>