Searched hist:"39 a97dce61aca9f618e28e26c6e441c8976f3172" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/plat/rockchip/rk3399/drivers/dp/ |
| H A D | cdn_dp.c | 39a97dce61aca9f618e28e26c6e441c8976f3172 Fri Dec 13 19:44:55 UTC 2019 Joshua Watt <JPEWhacker@gmail.com> 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>
|
| /rk3399_ARM-atf/plat/rockchip/rk3399/ |
| H A D | platform.mk | 39a97dce61aca9f618e28e26c6e441c8976f3172 Fri Dec 13 19:44:55 UTC 2019 Joshua Watt <JPEWhacker@gmail.com> 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>
|