2016-01-08 19:47:59 +00:00
|
|
|
import sys
|
|
|
|
|
2016-01-08 22:00:51 +00:00
|
|
|
|
2016-01-08 19:47:59 +00:00
|
|
|
def options(opt):
|
|
|
|
opt.load('asm compiler_c')
|
|
|
|
|
2016-01-08 22:00:51 +00:00
|
|
|
|
2016-01-08 19:47:59 +00:00
|
|
|
def configure(conf):
|
|
|
|
conf.load('asm compiler_c')
|
2016-01-08 22:00:51 +00:00
|
|
|
conf.check_cc(header_name='openssl/sha.h')
|
|
|
|
|
2016-01-08 19:47:59 +00:00
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
bld.program(
|
|
|
|
source='pic-linux.c',
|
2016-01-08 22:00:51 +00:00
|
|
|
target='pic-linux',
|
|
|
|
lib=['ssl', 'crypto'])
|
2016-01-08 19:47:59 +00:00
|
|
|
|
|
|
|
# bld(features='nasm',
|
|
|
|
# source='scrap.asm',
|
|
|
|
# target='scrap')
|