summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/Makefile')
-rw-r--r--mdk-stage1/dietlibc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mdk-stage1/dietlibc/Makefile b/mdk-stage1/dietlibc/Makefile
index da28b4112..0fe32e61b 100644
--- a/mdk-stage1/dietlibc/Makefile
+++ b/mdk-stage1/dietlibc/Makefile
@@ -1,5 +1,5 @@
INSTALL=install
-prefix=/usr
+prefix?=/usr
# Set the following to install to a different root
#DESTDIR=/tmp/fefix
# Use "make DEBUG=1" to compile a debug version.
@@ -40,6 +40,10 @@ else
ifeq ($(MYARCH),parisc)
ARCH=parisc
else
+ifeq ($(MYARCH),parisc64)
+ARCH=parisc
+MYARCH=parisc
+else
ifeq ($(MYARCH),x86_64)
ARCH=x86_64
else
@@ -59,6 +63,7 @@ endif
endif
endif
endif
+endif
# ARCH=$(MYARCH)
@@ -356,7 +361,7 @@ strcasecmp.o $(OBJDIR)/strcat.o $(OBJDIR)/strchr.o $(OBJDIR)/strcmp.o $(OBJDIR)/
$(OBJDIR)/ttyname.o $(OBJDIR)/sysconf_cpus.o: dietfeatures.h
# these depend on dietfeatures.h for WANT_TZFILE_PARSER
-$(OBJDIR)/localtime_r.o: dietfeatures.h
+$(OBJDIR)/localtime_r.o $(OBJDIR)/strftime.o: dietfeatures.h
# these depend on dietfeatures.h for WANT_SMALL_STDIO_BUFS
$(LIBSTDIOOBJ): dietfeatures.h