rockchip: Prevent macro expansion in paths
Instead of stringizing the paths to binary files, add them as string
defines on the command line (e.g. -DFOO=\"BAR\" instead of -DFOO=BAR).
This prevents macros from being expanded inside the string value itself.
For example, -DFOO=/path/with-linux-in-it would have been expanded to
"/path/with-1-in-it" because `linux=1` is one of the standard GCC
defines.

Change-Id: I7b65df3c9930faed4f1aff75ad726982ae3671e6
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
1 parent 1a43396 commit 39a97dce61aca9f618e28e26c6e441c8976f3172
@Joshua Watt Joshua Watt authored on 13 Dec 2019
Showing 3 changed files
View
plat/rockchip/rk3399/drivers/dp/cdn_dp.c
View
plat/rockchip/rk3399/drivers/pmu/pmu_fw.c
View
plat/rockchip/rk3399/platform.mk