Provide $(PERL) even when MCONFIG doesn't exist yet
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 13 Feb 2009 00:40:43 +0000 (16:40 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 13 Feb 2009 00:40:43 +0000 (16:40 -0800)
We run mkdep.pl before configure is run, so MCONFIG doesn't exist
yet.  Therefore, if PERL isn't defined, define it.

Makefile

index 8d3441c..42ae862 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 -include               MCONFIG
+PERL                   ?= perl
 
 RELOC_OBJS             = $(patsubst %.c,%.o,$(wildcard reloc/*.c)) \
                          $(patsubst %.S,%.o,$(wildcard reloc/*.S))