diff options
author | zbao <fishbaozi@gmail.com> | 2015-09-11 08:49:38 -0400 |
---|---|---|
committer | Zheng Bao <zheng.bao@amd.com> | 2015-09-29 02:51:38 +0000 |
commit | 46a7c82bcf9418bc12972eb1c54d19c9a98a9e2b (patch) | |
tree | 184138e3a8f9a2f64dddc50ce9aba7931f90daac /Makefile.inc | |
parent | bebef2133eb842603b207c4e324f1bac7183757f (diff) |
Makefile: Replace the way to test if a string is empty
The output of command below,
# i386-elf-nm build/cbfs/fallback/romstage_null.offenders | \
grep -q "" ; echo $?
has different result on MacOS, OS X Mavericks, which outputs 0.
On linux, it outputs 1.
I assume it is misleading to search an empty string in a empty
string. Change it to testing if the string is empty.
Change-Id: Ie4b8fe1fb26df092e2985937251a49feadc61eb0
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/11600
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile.inc')
0 files changed, 0 insertions, 0 deletions