Re: Cross compiler environment using scons
Dirk Baechle <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Abhishek, searching the web for the keywords "cross compiling swiften arm scons " should take you to a Stackoverflow page, handling this issue in depth. Hope this helps. Best regards, Dirk Am 31. Mai 2016 11:20:23 MESZ, schrieb abhishek jain <[email protected]>: >Hi Team > > >I need to cross compile open source project opencontrail on ubuntu for >ARM >using the below link.. > >http://juniper.github.io/contrail-vnc/README.html > >The SConstruct file is as below.. > >*#####################################################################################################################################* > ># -*- mode: python; -*- > ># ># Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. ># > ># repository root directory >import os >import sys > > >sys.path.append('tools/build') > >import rules >conf = Configure(DefaultEnvironment(ENV = os.environ)) >env = rules.SetupBuildEnvironment(conf) > >SConscript(dirs=['controller', 'vrouter', 'tools/sandesh']) > >SConscript('openstack/nova_contrail_vif/SConscript', > variant_dir='build/noarch/nova_contrail_vif') > >if >os.path.exists("openstack/contrail-nova-extensions/contrail_network_api/SConscript"): > >SConscript('openstack/contrail-nova-extensions/contrail_network_api/SConscript', > variant_dir='build/noarch/contrail_nova_networkapi') > >SConscript('openstack/neutron_plugin/SConscript', > variant_dir='build/noarch/neutron_plugin') > >if os.path.exists("openstack/ceilometer_plugin/SConscript"): > SConscript('openstack/ceilometer_plugin/SConscript', > variant_dir='build/noarch/ceilometer_plugin') > >if os.path.exists("contrail-f5/SConscript"): > SConscript('contrail-f5/SConscript', > variant_dir='build/noarch/contrail-f5') > > > >*##################################################################################################################################* > >Whenver I'm trying to compile using command scons vrouter,it is using >gcc >configuration instead of cross compiler environment.I want to know the >changes which I need to make in SConstruct file in order to use Cross >compiler. > >The cross compiler are placed at path >/home/ubuntu/jain/LS2085A-SDK-20160304-yocto/build_ls2085ardb_release/tmp/sysroots/x86_64-linux/usr/bin/aarch64-fsl-linux. > > >Thanks >Abhishek Jain > > >------------------------------------------------------------------------ > >_______________________________________________ >Scons-dev mailing list >[email protected] >https://pairlist2.pair.net/mailman/listinfo/scons-dev -- Sent from my Android with K-9 Mail. _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev