]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Fix broken build caused by implied dependency upon "perl"
authorMichael Brown <mcb30@ipxe.org>
Thu, 24 Jun 2010 16:20:35 +0000 (17:20 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 24 Jun 2010 16:25:54 +0000 (17:25 +0100)
commit719b49879d68cc0b7e4e96e770cfd925ff65c463
tree9687c7140fa51a210d95d785566fc46d28c1a5e0
parentea12dc0ec3256bf9c9de396a2cd8b03824638890
[build] Fix broken build caused by implied dependency upon "perl"

Commit ea12dc0 ("[build] Avoid hard-coding the path to perl")
introduced a build failure for fully clean trees (e.g. after running
"make veryclean"), since the dependency upon $(PARSEROM) now includes
a dependency upon "perl" (which doesn't exist) rather than upon
"/usr/bin/perl" (which does exist).

There should of course be no dependency upon the perl binary at all;
the dependency should be upon "./util/parserom.pl" alone.

Fix by removing the $(PERL) from the definition of Perl-based utility
paths, and adding $(PERL) at the point of usage.

Reported-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile
src/Makefile.housekeeping
src/arch/i386/Makefile.pcbios