summaryrefslogtreecommitdiff
path: root/util/sconfig/config.g
diff options
context:
space:
mode:
Diffstat (limited to 'util/sconfig/config.g')
-rw-r--r--util/sconfig/config.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sconfig/config.g b/util/sconfig/config.g
index d8bc855021..94c665f15e 100644
--- a/util/sconfig/config.g
+++ b/util/sconfig/config.g
@@ -886,7 +886,7 @@ def dumptree(part, lvl):
def writecode(image):
filename = os.path.join(img_dir, "static.c")
- print " SCONFIG ", join(filename.split('/')[-5:], '/')
+ print " SCONFIG ", join(filename.split('/')[-4:], '/')
file = safe_open(filename, 'w+')
file.write("#include <device/device.h>\n")
file.write("#include <device/pci.h>\n")
@@ -920,7 +920,7 @@ def gencode(part, file, pass_num):
def writegraph(image):
filename = os.path.join(img_dir, "static.dot")
- print " SCONFIG ", join(filename.split('/')[-5:], '/')
+ print " SCONFIG ", join(filename.split('/')[-4:], '/')
file = safe_open(filename, 'w+')
file.write("digraph devicetree {\n")
file.write(" rankdir=LR\n")