[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#121459: Got microwindows to build on ppc



At 16:29 -0800 06 Jan 2002, "Thomas Bushnell, BSG" <tb@becket.net> wrote:
> This makes me nervous; aren't you turning off a useful feature here
> for all systems?  I'd feel better if you only turned it off on the one
> system that can't support it (powerpc)...

I agree.  My previous patch was mostly intended to show what needed to
be turned off for powerpc.  I'd somehow got it in my head that it was
the maintianer that had asked for help on -powerpc, and so completely
missed that the package was orphaned.  Because of that, I thought that
the maintainer would be better suited to fixing it to only affect ppc.

Here's an alternate patch for debian/config.fb.  I've used it to do
builds on powerpc and i386.  With this version vgaplan4.o isn't built on
powerpc, but is on i386 (and should be on other architectures).

--- debian/config.fb.dist	Mon Jan  7 00:41:12 2002
+++ debian/config.fb	Mon Jan  7 00:42:37 2002
@@ -39,6 +39,8 @@
 POWERPCTOOLSPREFIX       = powerpc-linux-
 RTEMSTOOLSPREFIX         = i386-rtemself-
 
+DEBARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 ####################################################################
 #
 # Compiling options
@@ -204,7 +206,11 @@
 # framebuffer screen driver (linear and/or vga 4 planes)
 # set VTSWITCH to include virtual terminal switch code
 FRAMEBUFFER              = Y
+ifeq ($(DEBARCH), powerpc)
+FBVGA                    = N
+else
 FBVGA                    = Y
+endif
 VTSWITCH                 = Y
 PORTRAIT_MODE            = N
 

-- 
Aaron Schrab     aaron@schrab.com      http://www.execpc.com/~aarons/
 The only difference between a car salesman and a computer salesman is
 that the car salesman knows he's lying.



Reply to: