summaryrefslogtreecommitdiff
path: root/scripts/sysgen
diff options
context:
space:
mode:
authorDaniel Leung <daniel.leung@intel.com>2015-10-21 14:02:07 -0700
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:24:35 -0500
commit949e97aecf9fa0aa899024417054a1eae8c8b593 (patch)
treed5b37de33b66950d0e461c59cea12c0ed6c5d4c4 /scripts/sysgen
parent851c6f8f60d8a58f06280063348c1b3fa7864748 (diff)
sysgen: fix copy-and-paste errors and more empty lines
While adding private object supports, there were lots of copy and paste. This results in lines writing to kernel_main.c while it should be writing to sysgen.h. So update those lines to write to sysgen.h instead, and add more new lines there so sysgen.h is easier to read. Change-Id: I38496b58d6dc4ed8a50eab4e09ac7bff8c59026f Signed-off-by: Daniel Leung <daniel.leung@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'scripts/sysgen')
-rwxr-xr-xscripts/sysgen10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/sysgen b/scripts/sysgen
index b1f23dc19..17cadcb13 100755
--- a/scripts/sysgen
+++ b/scripts/sysgen
@@ -867,6 +867,7 @@ def generate_sysgen_h_obj_ids():
# mutex object ids
+ sysgen_h_data += "\n"
for mutex in mutex_list:
name = mutex[0]
sysgen_h_data += \
@@ -876,6 +877,7 @@ def generate_sysgen_h_obj_ids():
# semaphore object ids
+ sysgen_h_data += "\n"
for semaphore in sema_list:
name = semaphore[0]
sysgen_h_data += \
@@ -885,6 +887,7 @@ def generate_sysgen_h_obj_ids():
# fifo object ids
+ sysgen_h_data += "\n"
for fifo in fifo_list:
name = fifo[0]
sysgen_h_data += \
@@ -894,6 +897,7 @@ def generate_sysgen_h_obj_ids():
# mailbox object ids
+ sysgen_h_data += "\n"
for mbx in mbx_list:
name = mbx[0]
sysgen_h_data += \
@@ -903,7 +907,7 @@ def generate_sysgen_h_obj_ids():
# pipe object id
- kernel_main_c_out("\n")
+ sysgen_h_data += "\n"
for pipe in pipe_list:
name = pipe[0];
sysgen_h_data += \
@@ -912,7 +916,7 @@ def generate_sysgen_h_obj_ids():
# memory map object id
- kernel_main_c_out("\n")
+ sysgen_h_data += "\n"
for map in map_list:
name = map[0];
sysgen_h_data += \
@@ -921,7 +925,7 @@ def generate_sysgen_h_obj_ids():
# task object id
- kernel_main_c_out("\n")
+ sysgen_h_data += "\n"
for task in task_list:
name = task[0];
sysgen_h_data += \