[examples-v2 commit] filesystem: minor fixes
Gedare Bloom
gedare at rtems.org
Thu Dec 12 19:49:53 UTC 2013
Module: examples-v2
Branch: master
Commit: f3ff0723537363fd275fa389fb0bdd1826fc1ac9
Changeset: http://git.rtems.org/examples-v2/commit/?id=f3ff0723537363fd275fa389fb0bdd1826fc1ac9
Author: Gedare Bloom <gedare at rtems.org>
Date: Sat Nov 23 13:47:16 2013 -0500
filesystem: minor fixes
---
filesystem/fat_ramdisk/wscript | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/filesystem/fat_ramdisk/wscript b/filesystem/fat_ramdisk/wscript
index ace27cc..846b4ec 100644
--- a/filesystem/fat_ramdisk/wscript
+++ b/filesystem/fat_ramdisk/wscript
@@ -6,19 +6,18 @@
# Waf build script for RTEMS fat_ramdisk
import rtems_waf.rtems as rtems
-import os
version = "1.0.0"
-## TODO: Move this somewhere more general
+## FilesystemImage processing
from waflib.Task import Task
from waflib.TaskGen import extension
-
class bin2c(Task):
- run_str = 'rtems-bin2c ${SRC} ${TGT[0].abspath()} && touch ${TGT[1].abspath()}'
+ run_str = 'rtems-bin2c ${SRC} ${TGT[0].abspath()} && ' + \
+ 'touch ${TGT[1].abspath()}'
ext_out = ['.h']
@extension('FilesystemImage')
-def process_tarfs(self, node):
+def process_FilesystemImage(self, node):
c_node = node.change_ext('.c')
h_node = node.change_ext('.h')
self.create_task('bin2c', node, [c_node, h_node])
More information about the vc
mailing list