blob: 4a4f8de3134b47da83c8ed283499000d24c7c2be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Copyright 2023 Joel Sherrill (joel@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)
#if rtems.check_inc(bld, ['rtems/regulator.h']):
if bld.check(header_name='rtems/regulator.h', features='c', mandatory = False):
bld(features = 'c cprogram',
target = 'regulator_example.exe',
source = ['regulator_example.c','rtems_config.c'])
|