nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: pre4 makefile problems with Linux svga
From: Chris Johns
Date: Mon, 24 Jan 2000 16:21:49 +1100

Hi all,

Further to the already posted makefile problems with pre4 it seems other
problems exist in the drivers directory.

The conditionals :

 ifeq ($(PORTRAIT_MODE), Y)
 OBJS += scr_fbportrait.o
 else
 OBJS += scr_fb.o
 endif

 ifeq ($(SA1100_LCD_LTLEND), Y)
 OBJS += fblin4sa1100.o
 else
 OBJS += fblin4.o
 endif

cause a trail into the frame buffer code to start. This stop the sgva
code from working. In a svga case only :

 ifeq ($(VGALIB), Y)
 OBJS += scr_svga.o genfont.o
 endif

is required. In the case of SVGA the `else' parts are wrong. Maybe they
should become :

 ifdef PORTRAIT_MODE
 ifeq ($(PORTRAIT_MODE), Y)
 OBJS += scr_fbportrait.o
 else
 OBJS += scr_fb.o
 endif
 endif

 ifdef SA1100_LCD_LTLEND
 ifeq ($(SA1100_LCD_LTLEND), Y)
 OBJS += fblin4sa1100.o
 else
 OBJS += fblin4.o
 endif
 endif

I have commented out the `PORTRAIT_MODE' and `SA1100_LCD_LTLEND' in my
config file. This change effects the `configure' program.

Regards

-- 
 Chris Johns, mailto:ccj@acm.org

nanogui@linuxhacker.org