summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/gui/libraries/tjpgd1a/SConscript9
1 files changed, 4 insertions, 5 deletions
diff --git a/components/gui/libraries/tjpgd1a/SConscript b/components/gui/libraries/tjpgd1a/SConscript
index 14728005c6..f805407555 100644
--- a/components/gui/libraries/tjpgd1a/SConscript
+++ b/components/gui/libraries/tjpgd1a/SConscript
@@ -1,14 +1,13 @@
-Import('RTT_ROOT')
-Import('rtconfig')
from building import *
+import rtconfig
+cwd = GetCurrentDir()
src = Split('''
tjpgd.c
''')
-CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
+CPPPATH = [cwd]
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
-Return('group')
-
+Return('group') \ No newline at end of file