aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2010-01-02 01:31:47 +0000
committerAnssi Hannula <anssi@mandriva.org>2010-01-02 01:31:47 +0000
commit8ca7d57e16883816c4398b9111cb9797e21355d2 (patch)
tree29eb45c03aa1395723e9924d587290bd0e22d21d /Makefile
parent404e0742af7250010c2e1eced4672ae271f67afa (diff)
downloadmonitor-edid-8ca7d57e16883816c4398b9111cb9797e21355d2.tar
monitor-edid-8ca7d57e16883816c4398b9111cb9797e21355d2.tar.gz
monitor-edid-8ca7d57e16883816c4398b9111cb9797e21355d2.tar.bz2
monitor-edid-8ca7d57e16883816c4398b9111cb9797e21355d2.tar.xz
monitor-edid-8ca7d57e16883816c4398b9111cb9797e21355d2.zip
monitor-get-edid-using-vbe:
o remove all x86emu and vga softbootloader code, and always use the LRMI interface which was previously the backup one on 32-bit x86; libx86 is now used instead of liblrmi, allowing the use of LRMI interface on non-x86 hosts as well (fixes Mandriva bug #53866, which was caused by a bug in the removed code)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 2a363d4..c01369c 100644
--- a/Makefile
+++ b/Makefile
@@ -27,22 +27,14 @@ endif
CPPFLAGS = -I.
CFLAGS = -O -Wall -g
-OBJS = monitor-get-edid-using-vbe.c vbe.o libint10.a libx86emu.a
+OBJS = monitor-get-edid-using-vbe.c vbe.o
-ifeq (i386,$(ARCH))
-monitor-get-edid-using-vbe: LDFLAGS += -llrmi
-endif
+monitor-get-edid-using-vbe: LDFLAGS += -lx86
all: $(TARGETS)
monitor-get-edid-using-vbe: $(OBJS)
-libx86emu.a: x86emu/*.c
- $(MAKE) -C x86emu
-
-libint10.a: int10/*.c
- $(MAKE) -C int10
-
install:
install -d $(DESTDIR)$(bindir)
install -d $(DESTDIR)$(sbindir)
@@ -54,8 +46,6 @@ endif
ln -s monitor-edid $(DESTDIR)$(sbindir)/monitor-get-edid
clean:
- $(MAKE) -C int10 clean
- $(MAKE) -C x86emu clean
$(RM) $(TARGETS) *.a *.o *~
rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2