Welcome to bullshit, redefined.
Flamingo doesn't have pathmaps for HALs,
i.e The paths for cloning them are also not your usual hardware/qcom-caf/<whatever board name>
So revert that commit example
They are as HALs are as follows, disregarding which hals your use sm8150, msm8998 or whatever
Audio -> vendor/qcom/opensource/audio-hal/primary-hal
Media -> hardware/qcom/media
Display -> hardware/qcom/display
At the time of writing this I'm still using P404
Hehe