source: examples-v2/hello/hello_world_c/wscript @ 0d56108

4.11
Last change on this file since 0d56108 was 0d56108, checked in by Gedare Bloom <gedare@…>, on Nov 22, 2013 at 11:14:18 AM

Add LICENSE.2 with 2-clause BSD. Point to it from 2-clause BSD licensed files.

  • Property mode set to 100644
File size: 730 bytes
Line 
1# Copyright 2013 Chris Johns (chrisj@rtems.org)
2#
3# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
4#
5
6# Waf build script for an RTEMS Hello
7
8import rtems_waf.rtems as rtems
9
10version = "1.0.0"
11
12def build(bld):
13    rtems.build(bld)
14
15    arch_bsp = bld.get_env()['RTEMS_ARCH_BSP']
16    arch = bld.get_env()['RTEMS_ARCH']
17    bsp = bld.get_env()['RTEMS_BSP']
18
19    #
20    # The include paths and defines.
21    #
22    bld.includes = ['.']
23    bld.defines = ['PACKAGE_VERSION="' + version + '"']
24    bld.cflags = ['-g', '-O']
25
26    bld(features = 'c cprogram',
27        target = 'hello',
28        includes = bld.includes,
29        defines = bld.defines,
30        cflags = bld.cflags,
31        source = ['test.c'])
32
Note: See TracBrowser for help on using the repository browser.