[examples-v2 commit] misc: qemu_vfat: Add support to build with waf
Gedare Bloom
gedare at rtems.org
Thu Dec 12 19:49:54 UTC 2013
Module: examples-v2
Branch: master
Commit: 843e7f1de5034c42b3143640ec35e95a28b381ca
Changeset: http://git.rtems.org/examples-v2/commit/?id=843e7f1de5034c42b3143640ec35e95a28b381ca
Author: Chirayu Desai <cdesai at cyanogenmod.org>
Date: Sat Nov 30 23:05:13 2013 +0530
misc: qemu_vfat: Add support to build with waf
* Add a wscript file, but it isn't added to misc/wscript as
qemu_vfat doesn't build for all platforms even with make
TODO: Invetigate more and find a proper fix
---
misc/qemu_vfat/wscript | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/misc/qemu_vfat/wscript b/misc/qemu_vfat/wscript
new file mode 100644
index 0000000..fba093b
--- /dev/null
+++ b/misc/qemu_vfat/wscript
@@ -0,0 +1,18 @@
+# Copyright 2013 Gedare Bloom (gedare at rtems.org)
+#
+# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
+#
+
+# Waf build script for an RTEMS Hello
+import rtems_waf.rtems as rtems
+
+def build(bld):
+ rtems.build(bld)
+
+ bld.defines = ['USE_START_TEST']
+
+ bld(features = 'c cprogram',
+ target = 'qemu_vfat',
+ defines = bld.defines,
+ source = ['init.c', 'start_test.c'])
+
More information about the vc
mailing list