From 719b49879d68cc0b7e4e96e770cfd925ff65c463 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 24 Jun 2010 17:20:35 +0100 Subject: [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 Signed-off-by: Michael Brown --- src/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 3d92c4f3..94a701b7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -31,12 +31,12 @@ RANLIB := $(CROSS_COMPILE)ranlib OBJCOPY := $(CROSS_COMPILE)objcopy NM := $(CROSS_COMPILE)nm OBJDUMP := $(CROSS_COMPILE)objdump -PARSEROM := $(PERL) ./util/parserom.pl -FIXROM := $(PERL) ./util/fixrom.pl -SYMCHECK := $(PERL) ./util/symcheck.pl -SORTOBJDUMP := $(PERL) ./util/sortobjdump.pl -PADIMG := $(PERL) ./util/padimg.pl -LICENCE := $(PERL) ./util/licence.pl +PARSEROM := ./util/parserom.pl +FIXROM := ./util/fixrom.pl +SYMCHECK := ./util/symcheck.pl +SORTOBJDUMP := ./util/sortobjdump.pl +PADIMG := ./util/padimg.pl +LICENCE := ./util/licence.pl NRV2B := ./util/nrv2b ZBIN := ./util/zbin ELF2EFI32 := ./util/elf2efi32 -- cgit v1.2.3-55-g7522