Fairphone Open build does not detect any TW_THEME value

I am trying to build the Fairphone Open OS following these build instructions.

I get the same error as in this closed topic

I have tried the suggestions but cannot get it to go through. TW_THEME is well defined in /device/fairphone_devices/FP2/BoardConfig.mk:

[…]

USE_OPENGL_RENDERER := true

TW_THEME := portrait_hdpi
TW_NO_USB_STORAGE := false
TW_TARGET_USES_QCOM_BSP := true

But I get the same error everytime:

bootable/recovery/gui/Android.mk:140: ****************************************************************************
bootable/recovery/gui/Android.mk:141: * TW_THEME () is not valid.
bootable/recovery/gui/Android.mk:142: * Please choose an appropriate TW_THEME or create a new one for your device.
bootable/recovery/gui/Android.mk:143: * Valid options are portrait_mdpi portrait_hdpi watch_mdpi
bootable/recovery/gui/Android.mk:144: * landscape_mdpi landscape_hdpi
bootable/recovery/gui/Android.mk:145: ****************************************************************************
bootable/recovery/gui/Android.mk:146: *** stopping. Stop.

Any other suggestion?

A post was merged into an existing topic: FP Open build/make stops in TW_THEME () is not valid