system76 / firmware-open

System76 Open Firmware
Other
944 stars 84 forks source link

build fails on Debian 12 #515

Closed randomuygvruyv65423654 closed 4 months ago

randomuygvruyv65423654 commented 4 months ago

Build fails with error make: *** No targets specified and no makefile found. Stop. The dep scripts don't work for me so I go through each step manually. There are no errors and all the dependencies install and the toolchains build, with the exception of devmem2 which I can't find. Still there are no makefiles for the different boards so that seems to be the main issue.

Steps to reproduce

sudo apt-get --quiet update && sudo apt-get --quiet install build-essential ccache cmake curl dosfstools flashrom git-lfs libncurses-dev libudev-dev msr-tools mtools parted python-is-python3 python3-distutils uuid-dev zlib1g-dev bison bzip2 ca-certificates curl flex g++ gcc gnat make patch tar xz-utils zlib1g-dev avr-libc avrdude binutils-avr clang-format clang-format-14 gcc-avr libclang-cpp14 libftdi1 libhidapi-dev libhidapi-hidraw0 libhidapi-libusb0 libllvm14 libpkgconf3 libusb-0.1-4 pkgconf pkgconf-bin sdcc sdcc-libraries shellcheck xxd

git lfs install && git lfs pull git submodule update --init --recursive --checkout --progress make -C coreboot CPUS=2 crossgcc-i386 make -C coreboot CPUS=2 crossgcc-x86 make -C coreboot gitconfig ./scripts/install-rust.sh source ~/.cargo/env pushd ec git submodule update --init --recursive make git-config rustup show popd ./scripts/build.sh galp5 (any board target gives same error)

Building '2024-02-05_85896ec-dirty' for 'galp5' make: Entering directory '/home/user/firmware-open/apps/firmware-setup' make: *** No targets specified and no makefile found. Stop. make: Leaving directory '/home/user/firmware-open/apps/firmware-setup'

Expected behavior

build completes for the selected board

Actual behavior

(make: *** No targets specified and no makefile found. Stop.)

Additional info

randomuygvruyv65423654 commented 4 months ago

firmware setup submodule didn't get checked out for some reason. manually cloning the app fixed the issue.