"KBUILD_DEFCONFIG" description in kernel-dev manual seems wrong
in current kernel-dev manual, section on "in-tree" defconfig file:
https://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file
the example given is:
KBUILD_DEFCONFIG_common-pc ?= "/home/scottrif/configfiles/my_defconfig_file"
but that's not an "in-tree" file, is it? i thought that variable referred to just the file name within an existing kernel source tree, no? the processing in kernel-yocto.bbclass certainly suggests that:
if [ -f "${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG}" ]; then
should i submit a patch for that? perhaps steal the example from the reference manual:
KBUILD_DEFCONFIG_raspberrypi2 = "bcm2709_defconfig"
rday
Quoted 6 lines · On Thu, Feb 20, 2020 at 3:53 AM [email protected] <[email protected]>…
in current kernel-dev manual, section on "in-tree" defconfig file:
https://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file
Quoted 7 lines
the example given is:
KBUILD_DEFCONFIG_common-pc ?= "
/home/scottrif/configfiles/my_defconfig_file"but that's not an "in-tree" file, is it? i thought that variable referred to just the file name within an existing kernel source tree, no? the processing in kernel-yocto.bbclass certainly suggests that:
Correct. It is for defconfigs that are shipped with the kernel itself. The standard 'defconfig' in the SRC_URI covers other cases.
Bruce
Quoted 10 lines
if [ -f "${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG}" ]; then
should i submit a patch for that? perhaps steal the example from the reference manual:
KBUILD_DEFCONFIG_raspberrypi2= "bcm2709_defconfig"rday
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoting Bruce Ashfield <[email protected]>:
Quoted 13 lines
Quoted 11 lines · On Thu, Feb 20, 2020 at 3:53 AM [email protected] <[email protected]>…
in current kernel-dev manual, section on "in-tree" defconfig file:
https://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file
the example given is:
KBUILD_DEFCONFIG_common-pc ?=
"/home/scottrif/configfiles/my_defconfig_file"
Quoted 6 lines
Quoted 3 lines
but that's not an "in-tree" file, is it? i thought that variable referred to just the file name within an existing kernel source tree, no? the processing in kernel-yocto.bbclass certainly suggests that:
Correct. It is for defconfigs that are shipped with the kernel itself. The standard 'defconfig' in the
SRC_URIcovers other cases.
thought so … will fix.
rday