Changeset 753d851 in mainline for kernel/arch/sparc64/Makefile.inc


Ignore:
Timestamp:
2009-02-08T22:25:30Z (16 years ago)
Author:
Pavel Rimsky <rimskyp@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
198a9ef
Parents:
fd375a8d
Message:

Allow to suppress compilation of FB code on Sparc machines that do not have FB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/Makefile.inc

    rfd375a8d r753d851  
    6565#
    6666
    67 CONFIG_FB = y
     67ifeq ($(MACHINE),us)
     68        CONFIG_FB = y
     69endif
    6870
    6971## Compile with support for Sun keyboard.
     
    118120        arch/$(ARCH)/src/drivers/tick.c \
    119121        arch/$(ARCH)/src/drivers/kbd.c \
    120         arch/$(ARCH)/src/drivers/scr.c \
    121122        arch/$(ARCH)/src/drivers/sgcn.c \
    122123        arch/$(ARCH)/src/drivers/pci.c
    123124
     125ifeq ($(CONFIG_FB),y)
     126        ARCH_SOURCES += \
     127                arch/$(ARCH)/src/drivers/scr.c
     128endif
    124129
    125130ifeq ($(CONFIG_SMP),y)
Note: See TracChangeset for help on using the changeset viewer.