Merge pull request #3891 from jriwanek-forks/mga-dev
Correct undevbranching of the Matrox Millenium
This commit is contained in:
@@ -433,7 +433,7 @@ extern const device_t pgc_device;
|
|||||||
|
|
||||||
/* Matrox MGA */
|
/* Matrox MGA */
|
||||||
extern const device_t millennium_device;
|
extern const device_t millennium_device;
|
||||||
# if defined(DEV_BRANCH)
|
# if defined(DEV_BRANCH) && defined(USE_MGA)
|
||||||
extern const device_t mystique_device;
|
extern const device_t mystique_device;
|
||||||
extern const device_t mystique_220_device;
|
extern const device_t mystique_220_device;
|
||||||
# endif
|
# endif
|
||||||
|
@@ -28,6 +28,10 @@ add_library(vid OBJECT agpgart.c video.c vid_table.c vid_cga.c vid_cga_comp.c
|
|||||||
vid_ibm_rgb528_ramdac.c vid_sdac_ramdac.c vid_ogc.c vid_mga.c vid_nga.c
|
vid_ibm_rgb528_ramdac.c vid_sdac_ramdac.c vid_ogc.c vid_mga.c vid_nga.c
|
||||||
vid_tvp3026_ramdac.c vid_att2xc498_ramdac.c vid_xga.c)
|
vid_tvp3026_ramdac.c vid_att2xc498_ramdac.c vid_xga.c)
|
||||||
|
|
||||||
|
if(MGA)
|
||||||
|
target_compile_definitions(vid PRIVATE USE_MGA)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(VGAWONDER)
|
if(VGAWONDER)
|
||||||
target_compile_definitions(vid PRIVATE USE_VGAWONDER)
|
target_compile_definitions(vid PRIVATE USE_VGAWONDER)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -205,7 +205,7 @@ video_cards[] = {
|
|||||||
{ &s3_diamond_stealth_4000_pci_device },
|
{ &s3_diamond_stealth_4000_pci_device },
|
||||||
{ &s3_trio3d2x_pci_device },
|
{ &s3_trio3d2x_pci_device },
|
||||||
{ &millennium_device },
|
{ &millennium_device },
|
||||||
#if defined(DEV_BRANCH)
|
#if defined(DEV_BRANCH) && defined(USE_MGA)
|
||||||
{ &mystique_device },
|
{ &mystique_device },
|
||||||
{ &mystique_220_device },
|
{ &mystique_220_device },
|
||||||
#endif
|
#endif
|
||||||
|
@@ -498,7 +498,6 @@ ifeq ($(DEV_BRANCH), y)
|
|||||||
|
|
||||||
ifeq ($(MGA), y)
|
ifeq ($(MGA), y)
|
||||||
OPTS += -DUSE_MGA
|
OPTS += -DUSE_MGA
|
||||||
DEVBROBJ += vid_mga.o
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OPEN_AT), y)
|
ifeq ($(OPEN_AT), y)
|
||||||
@@ -765,6 +764,7 @@ VIDOBJ := agpgart.o video.o \
|
|||||||
vid_s3.o vid_s3_virge.o \
|
vid_s3.o vid_s3_virge.o \
|
||||||
vid_ibm_rgb528_ramdac.o vid_sdac_ramdac.o \
|
vid_ibm_rgb528_ramdac.o vid_sdac_ramdac.o \
|
||||||
vid_ogc.o \
|
vid_ogc.o \
|
||||||
|
vid_mga.o \
|
||||||
vid_nga.o \
|
vid_nga.o \
|
||||||
vid_tvp3026_ramdac.o \
|
vid_tvp3026_ramdac.o \
|
||||||
vid_xga.o
|
vid_xga.o
|
||||||
|
Reference in New Issue
Block a user