Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sb2-init - initialize a target root for scratchbox2
- Usage:
- sb2-init [OPTION]... [TARGETNAME] [COMPILER[:SPECS]] [SECONDARY_COMPILER...]
- sb2-init is expected to be run in the directory you want
- to use as scratchbox 2 target root.
- TARGETNAME is what you want to call this target
- COMPILER is of the form /home/gabriel/arm-2006q3/bin/arm-linux-gcc
- SPECS is path to the compiler scpecs file.
- If more than one compiler is specified, the additional compilers
- are available by version number (e.g. if the primary is known as
- "gcc" and "gcc-4.1", the secondary may be "gcc-3.4", etc)
- Options:
- -c "command" specify cpu transparency command, for example:
- "qemu-arm", "sbrsh" or "qemu-arm -m 512"
- -p "command" specify cpu transparency command for staticly linked
- native binaries
- -r [hostname] generate sbrsh config using remote device address
- -l [hostname] NFS server/localhost address seen by remote device
- -d set target as default scratchbox2 target
- -m [mapping_mode] use mapping_mode as default
- -h print this help
- -n don't build libtool for the target
- -N don't generate localization files for the target
- -s skip checks for target root's /usr/include etc.
- -t [tools_dir] set directory containing the build tools distribution
- -C "options" add extra options for the compiler, for example:
- "-fgnu89-inline"
- -L "options" add extra options for the linker, for example:
- "--sysroot=/"
- -A arch manually override target architecture
- -M arch manually override machine name (see uname(2)). This
- defaults to the target architecture (see option -A)
- -v display version
- Examples:
- sb2-init -c qemu-arm ARM arm-linux-gcc
- sb2-init -c qemu-arm -m devel ARM arm-linux-gcc
- sb2-init -sn -c sbrsh armel-debian /path/to/arm-linux-gcc:/path/to/gcc-specs
- Already initialized targets:
- Target nemo-n950:
- configured at 2014-08-06_15:59:40 by user 'gabriel', with command
- ( cd /srv/mer/targets/n950rootfs;
- sb2-init -L --sysroot=/ -d -C --sysroot=/ -c /usr/bin/qemu-arm-dynamic -m sdk-build -n -N -t / nemo-n950 /opt/cross/bin/armv7hl-meego-linux-gnueabi-gcc )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement