I was able to build my application with the legacy stack (nfs, telnet, etc) 
using waf.

“my" wscript file:

from __future__ import print_function

rtems_version = "5"

try:
   import rtems_waf.rtems as rtems
except:
   print('error: no rtems_waf git submodule')
   import sys
   sys.exit(1)

def init(ctx):
   rtems.init(ctx, version = rtems_version, long_commands = True)

def bsp_configure(conf, arch_bsp):
   # Add BSP specific configuration checks
   pass

def options(opt):
   rtems.options(opt)

def configure(conf):
   rtems.configure(conf, bsp_configure = bsp_configure)

def build(bld):
   rtems.build(bld)

   bld(features = 'c cprogram',
       target = 'till.exe',
       cflags = '-g -O2',
       ldflags = '-lnfs -ltftpfs',
       source = ['rtems_config.c',
                  'rtems_netconfig.c',
                 'rtems_init.c'])


How do I have to define the whole thing with libbsd? There is e.g. explicitly 
no libnfs.

Danke Heinz

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to