diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-09-24 16:30:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-09-24 16:30:20 +0000 |
commit | 27d6c6db7476da28c24c9d43ff0b5c9e3dbd2c56 (patch) | |
tree | 9d3d02db2813b8e3fb19d01a447d5e6e3bfcfd7d /loader | |
parent | 08677d2b09e3aaa7e1f2f6684244f646695db0b6 (diff) | |
download | anaconda-27d6c6db7476da28c24c9d43ff0b5c9e3dbd2c56.tar.gz anaconda-27d6c6db7476da28c24c9d43ff0b5c9e3dbd2c56.tar.xz anaconda-27d6c6db7476da28c24c9d43ff0b5c9e3dbd2c56.zip |
* don't use minilibc on x86_64 for now
* just build a loader binary for x86_64
* always use minislang/mininewt since we don't get "working" text mode
line drawing chars otherwise
Diffstat (limited to 'loader')
-rw-r--r-- | loader/Makefile | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/loader/Makefile b/loader/Makefile index 050cf84aa..fa91948a7 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -5,13 +5,13 @@ DESTDIR = ../../trees/initrd OBJS = log.o windows.o modules.o devices.o cdrom.o kickstart.o lang.o \ misc.o ftp.o md5.o mediacheck.o moduledeps.o -SLANGLIB = -lslang -NEWTLIB = -lnewt +SLANGLIB = ../minislang/libslang.a +NEWTLIB = ../mininewt/libnewt.a ifneq (ia64, $(ARCH)) ifneq (i386, $(ARCH)) +ifneq (x86_64, $(ARCH)) OBJS += fnmatch-stub.o printf-stub.o pwd-stub.o dl-stub.o -SLANGLIB = ../minislang/libslang.a -NEWTLIB = ../mininewt/libnewt.a +endif endif endif @@ -53,13 +53,12 @@ OBJS += dietstubs.o ctype.o endif ifeq (x86_64, $(ARCH)) -BINS += loader-local loader-network loader-pcmcia +BINS += loader ifeq (1, $(JAPANESE)) KONOBJS = ./kon2/src/libkon.a ./kon2/src/display.a ./kon2/lib/libgon.a CFLAGS += -DINCLUDE_KON DIRS += kon2 endif -OBJS += stubs.o endif ifeq (ia64, $(ARCH)) @@ -111,13 +110,6 @@ CC=$(DIET) $(REALCC) STATIC=-static else REALCC=$(CC) -ifeq (x86_64, $(ARCH)) -COPTS+=-DUSE_MINILIBC=1 -DUSE_LOGDEV -MINILIBC=minilibc.o -LDFLAGS = -nostdlib /usr/lib64/crt1.o -LOADERLIBS += -lresolv -STATIC= -static -else ifeq (sparc, $(ARCH)) MINILIBC=minilibc.o /usr/lib/libc.a CFLAGS+=-DUSE_MINILIBC=1 -DUSE_LOGDEV @@ -130,7 +122,6 @@ STATIC=-static LOADERLIBS += -lresolv endif endif -endif LANGS = $(shell awk '{ print $$2 }' ../lang-table | egrep -v '(^en$$)') |