diff options
| author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-10-23 16:55:43 +0000 |
|---|---|---|
| committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-10-23 16:55:43 +0000 |
| commit | c5b81552b9abf8ef78056bd1db685aa7d9362620 (patch) | |
| tree | 4f8391755177717abde3876e2c77c8f08e383032 /tools/ddcprobe/Makefile | |
| parent | a8f5fcc9b9597beb0672f54301fcf59ee51c65c0 (diff) | |
| download | drakx-c5b81552b9abf8ef78056bd1db685aa7d9362620.tar drakx-c5b81552b9abf8ef78056bd1db685aa7d9362620.tar.gz drakx-c5b81552b9abf8ef78056bd1db685aa7d9362620.tar.bz2 drakx-c5b81552b9abf8ef78056bd1db685aa7d9362620.tar.xz drakx-c5b81552b9abf8ef78056bd1db685aa7d9362620.zip | |
Remove unreachable code. Add support for AMD64 through parsing of
/proc/BOOT/{edid,vbe} blocks obtained early during the boot process.
However, this is a -BOOT kernel specific since there is no way to
dynamically fetch updated info at runtime. i.e. terrific HACKage!
Diffstat (limited to 'tools/ddcprobe/Makefile')
| -rw-r--r-- | tools/ddcprobe/Makefile | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/tools/ddcprobe/Makefile b/tools/ddcprobe/Makefile index bcbf1464d..83f3e3df5 100644 --- a/tools/ddcprobe/Makefile +++ b/tools/ddcprobe/Makefile @@ -6,24 +6,17 @@ ARCH := $(patsubst i%86,i386,$(shell uname -m)) ARCH := $(patsubst sparc%,sparc,$(ARCH)) ifeq (i386,$(ARCH)) - -ddcxinfos: lrmi.o vesamode.o vbe.o ddcxinfos.o - -libvbe.a: lrmi.o vesamode.o vbe.o - $(AR) cru $@ $^ - -#install: $(DESTDIR)/usr/include/vbe.h $(DESTDIR)/usr/lib/libvbe.a - -$(DESTDIR)/usr/include/vbe.h: - install -m 644 vbe.h $(DESTDIR)/usr/include/vbe.h - -$(DESTDIR)/usr/lib/libvbe.a: - install -m 644 libvbe.a $(DESTDIR)/usr/lib/libvbe.a - -else -ddcxinfos: not_handled.c - gcc -o $@ $< +OBJS = ddcxinfos.o vesamode.o vbe.o lrmi.o +endif +ifeq (x86_64,$(ARCH)) +OBJS = ddcxinfos.o vesamode.o vbe.o endif +ifeq (,$(OBJS)) +OBJS = not_handled.o +endif + +ddcxinfos: $(OBJS) + $(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS) clean: $(RM) $(TARGETS) *.o core |
