diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-18 13:43:35 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-18 13:43:35 +0100 |
commit | a3ef82b068b46a4c0058f25ec61145afab81b8ab (patch) | |
tree | 653bb06d6db9ee12a33ed0998a3f6f2e05197f65 /xen/arch/x86/Makefile | |
parent | 68666c06e8026af131ad5ada05adb4dd638f82cf (diff) | |
download | xen-a3ef82b068b46a4c0058f25ec61145afab81b8ab.tar.gz xen-a3ef82b068b46a4c0058f25ec61145afab81b8ab.tar.bz2 xen-a3ef82b068b46a4c0058f25ec61145afab81b8ab.zip |
Avoid need for GREP variable by avoiding GNUisms. The
only one we appear to have is use of '-q'. Replace it
with redirection to /dev/null.
Also avoid use of 'tail' by replacing with 'head' or
'grep' as appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/Makefile')
-rw-r--r-- | xen/arch/x86/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index e303ec7b59..e8b1dd02e8 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -46,8 +46,7 @@ obj-$(crash_debug) += gdbstub.o $(TARGET): $(TARGET)-syms boot/mkelf32 ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \ - `$(NM) $(TARGET)-syms | sort | tail -n 1 | \ - sed -e 's/^\([^ ]*\).*/0x\1/'` + `$(NM) -nr $(TARGET)-syms | head -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'` $(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) xen.lds $(MAKE) -f $(BASEDIR)/Rules.mk $(BASEDIR)/common/symbols-dummy.o |