crossbuild buildworld on amd64 for arm fails to find KERNCONF GENERIC after r302865

Guy Yur guyyur at gmail.com
Fri Jul 15 13:45:27 UTC 2016


Hi,

I am trying to crossbuild arm on an amd64 machine and buildworld
is checking for KERNCONF and fails to find GENERIC kernel.
I only set KERNCONF when I am doing buildkernel/installkernel
so KERNCONF is the default set in Makefile.inc1.

# make buildworld TARGET=arm TARGET_ARCH=armv6
make[1]: "/usr/src/Makefile.inc1" line 122: SYSTEM_COMPILER:
Determined that CC=cc matches the source tree.  Not bootstrapping a
cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 1144: Missing KERNCONF
/usr/src/sys/arm/conf/GENERIC
*** Error code 1

Stop.
make: stopped in /usr/src


# uname -a
FreeBSD vm4.localdomain 12.0-CURRENT FreeBSD 12.0-CURRENT #13
r302895M: Fri Jul 15 16:06:24 IDT 2016
root at vm4.localdomain:/usr/obj/usr/src/sys/VIRTUALBOX  amd64

Thanks,
Guy


More information about the freebsd-current mailing list