aboutsummaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorMiklós Márton <martonmiklosqdev@gmail.com>2021-07-27 14:29:16 +0200
committerNico Huber <nico.h@gmx.de>2021-08-27 16:30:07 +0000
commit822cc7ed2ad29eafeb51b75ee106e000f8a11ee3 (patch)
tree3049c43464859752fd8e8ea030052bb3a162c44c /ichspi.c
parenta69c5196d20d136b1de120f0fa5ea1e06c3776da (diff)
downloadflashrom-822cc7ed2ad29eafeb51b75ee106e000f8a11ee3.tar.gz
flashrom-822cc7ed2ad29eafeb51b75ee106e000f8a11ee3.tar.bz2
flashrom-822cc7ed2ad29eafeb51b75ee106e000f8a11ee3.zip
ni845x_spi: handle PROGRAMFILES(X86) env var properly
The PROGRAMFILES(X86) envvar contains brackets which could not be interpreted by the Makefile's interpreter. A sed based tweak have been added to extract the variable value from the env command output. The prefixed include and linker path with this (now correctly extracted) prefix only added to the compilation flags if it differ from the PROGRAMFILES variable. Change-Id: I397619a5038567d649a417ce6b9d8ac9e1c8c67b Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/56636 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'ichspi.c')
0 files changed, 0 insertions, 0 deletions