summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index ce561e328..a2019cb12 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -57,14 +57,11 @@ DEFS = -DDISTRIB_NAME=\"$(DISTRIB_NAME)\" -DDISTRIB_VERSION=\"$(DISTRIB_VERSION)
COMPILE = $(CC) $(DEFS) $(CFLAGS)
+INIT_DEFS =
ifeq (DIETLIBC, $(L))
-INIT_HEADERS=minilibc.h
-else
-INIT_HEADERS=init-libc-headers.h
+INIT_DEFS += -DINIT_HEADERS=\"minilibc.h\"
endif
-INIT_DEFS = -DINIT_HEADERS=\"$(INIT_HEADERS)\"
-
ifeq (DIETLIBC, $(L))
INITSRC = minilibc.c init.c
INIT_DEFS += -fno-builtin