From a9a30295412bb26ff2edd5599975ff24f004b345 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 9 Nov 2013 22:30:20 +0000 Subject: [PATCH] targets/r300: move drm_target.c to common folder ... and symlink for each target. Make automake's subdir-objects work for r300. Signed-off-by: Emil Velikov --- src/gallium/targets/r300/{ => common}/drm_target.c | 0 src/gallium/targets/r300/dri/Makefile.am | 2 +- src/gallium/targets/r300/dri/drm_target.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename src/gallium/targets/r300/{ => common}/drm_target.c (100%) create mode 120000 src/gallium/targets/r300/dri/drm_target.c diff --git a/src/gallium/targets/r300/drm_target.c b/src/gallium/targets/r300/common/drm_target.c similarity index 100% rename from src/gallium/targets/r300/drm_target.c rename to src/gallium/targets/r300/common/drm_target.c diff --git a/src/gallium/targets/r300/dri/Makefile.am b/src/gallium/targets/r300/dri/Makefile.am index 4b41c3077b2..3f659c91494 100644 --- a/src/gallium/targets/r300/dri/Makefile.am +++ b/src/gallium/targets/r300/dri/Makefile.am @@ -42,7 +42,7 @@ dri_LTLIBRARIES = r300_dri.la nodist_EXTRA_r300_dri_la_SOURCES = dummy.cpp r300_dri_la_SOURCES = \ - ../drm_target.c + drm_target.c r300_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS) diff --git a/src/gallium/targets/r300/dri/drm_target.c b/src/gallium/targets/r300/dri/drm_target.c new file mode 120000 index 00000000000..6955421104a --- /dev/null +++ b/src/gallium/targets/r300/dri/drm_target.c @@ -0,0 +1 @@ +../common/drm_target.c \ No newline at end of file -- 2.30.2