Hello!
2010/9/14 Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net:
One way to do this would be to keep the "dmidecode" string as is if we're doing cross compilation. Another way would be an additional internal programmer parameter like this: flashrom -p internal:dmidecode_path=/usr/sbin/dmidecode Yet another solution would be to finally integrate the internal dmi decoder patch into flashrom and kill the dmidecode dependency that way.
...
What do you think of my suggestions above?
I'm pretty sure that adding a small out-of-tree patch which just substitutes "dmidecode" string in dmi.c with full path to dmidecode would be a much simpler solution than trying to overcome all these difficulties, so please disregard this particular patch.