summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/Makefile')
-rw-r--r--mdk-stage1/Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 591100525..75e321400 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -59,9 +59,7 @@ COMPILE = $(CC) $(DEFS) $(CFLAGS)
INIT_DEFS =
INITSRC = init.c
-ifneq (DIETLIBC, $(L))
INIT_DEFS += $(GLIBC_INCLUDES)
-endif
STAGE1_DEFS=-DDISABLE_KA
@@ -70,35 +68,19 @@ INITOBJS = $(subst .c,.o,$(INITSRC))
#- frontends
NEWT_FRONTEND_SRC = newt-frontend.c
-ifeq (DIETLIBC, $(L))
-NEWT_FRONTEND_LIBS = libnewt.a libslang.a
-else
NEWT_FRONTEND_LIBS = -lnewt -lslang
-endif
STDIO_FRONTEND_SRC = stdio-frontend.c
STDIO_FRONTEND_LIBS =
FRONTEND_OBJS = $(subst .c,.o,$($(F)_FRONTEND_SRC))
-ifeq (DIETLIBC, $(L))
-FRONTEND_LINK = $(FRONTEND_OBJS) $(patsubst %,/usr/lib/dietlibc/lib-$(ARCH)/%,$($(F)_FRONTEND_LIBS))
-else
FRONTEND_LINK = $(FRONTEND_OBJS) $($(F)_FRONTEND_LIBS)
-endif
-ifeq (DIETLIBC, $(L))
-STAGE1_OWN_LIBS = $(patsubst %,/usr/lib/dietlibc/lib-$(ARCH)/%,libz.a libldetect.a libkmod.a libpci.a liblzma.a libsysfs.a)
-else
STAGE1_OWN_LIBS = -lz -lldetect -lkmod -lpci -llzma -lsysfs
-endif
-ifeq (DIETLIBC, $(L))
-STAGE1_NETWORK_LIBS = /usr/lib/dietlibc/lib-$(ARCH)/librpc.a
-else
STAGE1_NETWORK_LIBS = -lresolv
-endif
#- stage1 itself
STAGE1SRC = stage1.c log.c utils.c params.c tools.c modules.c probing.c mount.c automatic.c frontend-common.c lomount.c thirdparty.c zlibsupport.c