2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 05:21:23 +01:00
waf/playground/objcopy/wscript

19 lines
433 B
Plaintext
Raw Normal View History

2011-09-10 11:13:51 +02:00
#! /usr/bin/env python
def options(ctx):
ctx.load('compiler_c')
def configure(ctx):
ctx.load('compiler_c')
ctx.load('objcopy')
def build(ctx):
ctx(features = 'c cprogram objcopy',
source = 'main.c',
target = 'app',
# objcopy_bfdname='srec',
# objcopy_target = 'alternative-name',
# objcopy_install_path = '${PREFIX}/some_dir',
# objcopy_flags = '--strip-all'
)