• Joshua Watt's avatar
    rockchip: Prevent macro expansion in paths · 39a97dce
    Joshua Watt authored
    
    
    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: default avatarJoshua Watt <JPEWhacker@gmail.com>
    39a97dce
pmu_fw.c 586 Bytes