android-rpi / device_arpi_rpi4

Device build-config for Raspberry Pi 4
216 stars 87 forks source link

Issue building Kernel #56

Closed ezebongiovi closed 3 years ago

ezebongiovi commented 3 years ago

Description

I get an error when trying to generate the .config file

Step to reproduce

Run ->

ARCH=arm64 scripts/kconfig/merge_config.sh arch/arm64/configs/bcm2711_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config

Error

make: *** empty variable name. Stop.

Screenshot

Screenshot from 2020-12-28 00-16-13

I would really appreciate a hand on this. Thank you for your amazing work and for contributing to the open source community with such a great project!

ezebongiovi commented 3 years ago

For those having this issue. I solved it by editing the file

scripts/kconfig/merge_config.sh

Changes made:

At line 190. Changed -> make $KCONFIG_ALLCONFIG=$TMP_FILE $OUTPUT_ARG $ALLTARGET to make KCONFIG_ALLCONFIG=$TMP_FILE $OUTPUT_ARG $ALLTARGET