Include stm32cube in zephyr

Hi
Im trying to writing code in zephyr but with HAL syntax .
i read reame file in zephyr docs and If I understand well it seems that I have to modify Makefile or Kbuild in zephyr/ext/hal/st/stm32cube/ but it seems very strange and counterintuitive to have to modify a zephyr file for the needs of a specific application.
I wonder how can I have the appropriate files compiled. Are there some CONFIG_* to set in prj.conf?