nasm waf util handles yasm builds now

master
JoYo 2019-02-18 04:11:51 +00:00
parent 0ccf038589
commit b7de0bcc78
4 changed files with 7 additions and 177 deletions

View File

@ -4,5 +4,6 @@ ENV CXX clang++
RUN apt-get update && apt-get install -y \
clang \
llvm-dev \
yasm
ADD https://waf.io/waf-2.0.14 /waf.py

View File

@ -7,4 +7,4 @@ services:
volumes:
- ${PWD}:/app
working_dir: /app
command: python waf-2.0.14 configure build
command: python /waf.py configure build

File diff suppressed because one or more lines are too long

View File

@ -4,17 +4,16 @@
def options(opt):
opt.load('yasm')
opt.load('nasm')
opt.load('compiler_cxx')
def configure(conf):
conf.load('yasm')
conf.load('nasm')
conf.load('compiler_cxx')
def build(bld):
bld.program(
source='generation.cpp',
target='generation.elf')
bld.program(source='generation.cpp', target='generation.elf')
bld(features='asm', source='seed.asm', target='seed')