Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing dependencies to README.md #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tym2k1
Copy link

@tym2k1 tym2k1 commented Apr 22, 2024

When building a demo inside of a docker container (especially ubuntu:latest) two additional dependencies must be downloaded through apt for make to work properly - file and cpio.

$ echo $PLATFORM
  qemu-aarch64-virt
$ echo $DEMO
  linux+zephyr
$ echo $CROSS_COMPILE
  /home/user/Desktop/bao/bao-demo/toolchain/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf/bin/aarch64-none-elf-
You must install '/usr/bin/file' on your build machine
make[1]: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
make[1]: Leaving directory '/home/user/Desktop/bao/bao-demo/wrkdir/srcs/buildroot-aarch64-v6.1'
make: *** [/home/user/Desktop/bao/bao-demo/guests/linux/make.mk:28: /home/user/Desktop/bao/bao-demo/wrkdir/srcs/buildroot-aarch64-v6.1/output/images/Image-qemu-aarch64-virt] Error 2
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
make[2]: Leaving directory '/home/user/Desktop/bao/bao-demo/wrkdir/srcs/buildroot-aarch64-v6.1'
You must install 'cpio' on your build machine
make[1]: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
make[1]: Leaving directory '/home/user/Desktop/bao/bao-demo/wrkdir/srcs/buildroot-aarch64-v6.1'
make: *** [/home/user/Desktop/bao/bao-demo/guests/linux/make.mk:28: /home/user/Desktop/bao/bao-demo/wrkdir/srcs/buildroot-aarch64-v6.1/output/images/Image-qemu-aarch64-virt] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant