]> xenbits.xensource.com Git - xen.git/commitdiff
Fix non-portable grep usage. Solaris doesn't have -q option.
authorKeir Fraser <keir@xensource.com>
Tue, 13 Nov 2007 19:26:55 +0000 (19:26 +0000)
committerKeir Fraser <keir@xensource.com>
Tue, 13 Nov 2007 19:26:55 +0000 (19:26 +0000)
Signed-off-by: John Levon <john.levon@sun.com>
tools/firmware/rombios/32bit/Makefile

index 0a17154a437bcf939bae26ccc4c8d22a086f8c59..1cafa8aa1d848142922d6f3ab66bf09857e8b42c 100644 (file)
@@ -34,7 +34,7 @@ clean:
 $(TARGET): subdirs 32bitbios.o util.o
        $(LD) $(LDFLAGS_DIRECT) -s -r 32bitbios.o $(MODULES) util.o -o 32bitbios_all.o
        @nm 32bitbios_all.o |                                \
-         grep -E -q '^ +U ' && {                            \
+         egrep '^ +U ' >/dev/null && {                      \
            echo "There are undefined symbols in the BIOS:"; \
            nm -u 32bitbios_all.o;                           \
            exit 11;                                         \