From 40faa56efbcb04b6cb7d611526688423dba04a7b Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 10 May 2010 17:03:13 +0100 Subject: [PATCH] gallium: Add software drm api helper to scons build --- src/gallium/winsys/SConscript | 1 + src/gallium/winsys/sw/drm/SConscript | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/gallium/winsys/sw/drm/SConscript diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript index db7356dee97..330b1ab834c 100644 --- a/src/gallium/winsys/SConscript +++ b/src/gallium/winsys/SConscript @@ -17,6 +17,7 @@ if 'gdi' in env['winsys']: if env['dri']: SConscript([ + 'sw/drm/SConscript', 'sw/dri/SConscript', ]) diff --git a/src/gallium/winsys/sw/drm/SConscript b/src/gallium/winsys/sw/drm/SConscript new file mode 100644 index 00000000000..15a2e05d5af --- /dev/null +++ b/src/gallium/winsys/sw/drm/SConscript @@ -0,0 +1,21 @@ +####################################################################### +# SConscript for xlib winsys + + +Import('*') + +env = env.Clone() + +env.Append(CPPPATH = [ + '#/src/gallium/include', + '#/src/gallium/auxiliary', + '#/src/gallium/drivers', +]) + +ws_drm = env.ConvenienceLibrary( + target = 'ws_drm', + source = [ + 'sw_drm_api.c', + ] +) +Export('ws_drm') -- 2.30.2