]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Avoid hard-coding the path to perl
authorMichael Brown <mcb30@ipxe.org>
Thu, 24 Jun 2010 00:23:00 +0000 (01:23 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 24 Jun 2010 00:23:00 +0000 (01:23 +0100)
The path "/usr/bin/perl" has been hard-coded since Etherboot 5.1, for
no discernible reason.  Use just "perl" instead to fix the
inconsistency and allow building on systems with Perl installed
outside of /usr/bin.

Reported-by: Gabor Z. Papp <gzp@papp.hu>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile

index f81c43315b7571ae9726d6b4f3e36dbeba7ba359..3d92c4f3e4bd036f0da5fd4b36457171e0d20f6f 100644 (file)
@@ -20,7 +20,7 @@ MKDIR         := mkdir
 CP             := cp
 ECHO           := echo
 PRINTF         := printf
-PERL           := /usr/bin/perl
+PERL           := perl
 CC             := $(CROSS_COMPILE)gcc
 CPP            := $(CC) -E
 AS             := $(CROSS_COMPILE)as