[Scons-dev] Cross compiler environment using scons
abhishek jain
ashujain9727 at gmail.com
Tue May 31 05:20:23 EDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160531/34d61ce2/attachment.html>
More information about the Scons-dev
mailing list