JeffyCN / rockchip_mirrors

Mirrors of a few Rockchip BSP repositories, some others in https://github.com/JeffyCN/mirrors.
Other
10 stars 2 forks source link

Error while building latest version #11

Closed andrzejtp closed 2 years ago

andrzejtp commented 2 years ago
>>> busybox 1.34.1 Extracting
bzcat /home/ap/rockchip/rockchip_mirrors/dl/busybox-1.34.1.tar.bz2 | /home/ap/rockchip/rockchip_mirrors/output/host/bin/tar --strip-components=1 -C /home/ap/rockchip/rockchip_mirrors/output/build/busybox-1.34.1   -xf -
>>> busybox 1.34.1 Patching

Applying 0001-networking-libiproute-use-linux-if_packet.h-instead-.patch using patch: 
patching file networking/libiproute/iplink.c

Applying 0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch using patch: 
patching file Makefile.flags

Applying 0003-busybox-support-chinese-display-in-terminal.patch using patch: 
patching file libbb/printable_string.c
patching file libbb/unicode.c

Applying 0004-halt-Support-rebooting-with-arg.patch using patch: 
patching file init/halt.c
for f in board/rockchip/common/base/busybox.config ; do if [ ! -f "${f}" ]; then printf "Kconfig file or fragment '%s' for '%s' does not exist\n" "${f}" "busybox"; exit 1; fi; done
Kconfig file or fragment 'board/rockchip/common/base/busybox.config' for 'busybox' does not exist
make[1]: *** [package/busybox/busybox.mk:419: board/rockchip/common/base/busybox.config] Błąd 1
make: *** [Makefile:83: _all] Błąd 2

A workaround:

touch board/rockchip/common/base/busybox.config works, but this does not look like a proper solution.

JeffyCN commented 2 years ago

something wrong in your local board config should be something like:

buildroot/output/rockchip_px30_64# ag BUSYBOX_CONFIG .config
496:BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox.config"
497:BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/rockchip/common/base/busybox.fragment"