Changeset 5ba6949 in rtems-libbsd for freebsd-to-rtems.py


Ignore:
Timestamp:
May 20, 2015, 7:45:16 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
feaf877
Parents:
66ec94a
Message:

Add support to build using waf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-to-rtems.py

    r66ec94a r5ba6949  
    4242import builder
    4343import makefile
     44import waf_generator
    4445import libbsd
    4546
     
    142143    sys.exit(0)
    143144
    144 makefile_generator = makefile.ModuleManager()
     145makefile_gen = makefile.ModuleManager()
     146waf_gen = waf_generator.ModuleManager()
    145147
    146 libbsd.sources(makefile_generator)
     148libbsd.sources(makefile_gen)
     149libbsd.sources(waf_gen)
    147150
    148151# Perform the actual file manipulation
    149152if isForward:
    150153    if not isOnlyMakefile:
    151         makefile_generator.copyFromFreeBSDToRTEMS()
    152     makefile_generator.generate()
     154        makefile_gen.copyFromFreeBSDToRTEMS()
     155    makefile_gen.generate()
     156    waf_gen.generate()
    153157else:
    154     makefile_generator.copyFromRTEMSToFreeBSD()
     158    makefile_gen.copyFromRTEMSToFreeBSD()
    155159
    156160# Print a summary if changing files
Note: See TracChangeset for help on using the changeset viewer.