Commit 4cc4620c authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] POSIX doesnt guarantee head -2, only head -n 2

(and some build environments are set up to be poxixly correct)

(Teemu Tervo)
parent 89479619
......@@ -2,7 +2,7 @@
# Makefile for a ramdisk image
#
O_FORMAT = $(shell $(OBJDUMP) -i | head -2 | grep elf32)
O_FORMAT = $(shell $(OBJDUMP) -i | head -n 2 | grep elf32)
img = $(CONFIG_EMBEDDED_RAMDISK_IMAGE)
ramdisk.o: $(subst ",,$(img)) ld.script
echo "O_FORMAT: " $(O_FORMAT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment