This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# Example: |
| 4 |
# $ bash --rcfile ./marmita-simple-cross-compiling-env |
| 5 |
# |
| 6 |
|
| 7 |
BB=`which bitbake` |
| 8 |
|
| 9 |
[ -z $BB ] && exit |
| 10 |
|
| 11 |
eval `$BB -e | grep "^export PKG_CONFIG_PATH="` |
| 12 |
eval `$BB -e | grep "^export PKG_CONFIG_SYSROOT_DIR="` |
| 13 |
eval `$BB -e | grep "^TARGET_SYS="` |
| 14 |
export TARGET_SYS |
| 15 |
|
| 16 |
CROSS_COMPILE=${TARGET_SYS}- |
| 17 |
export CROSS_COMPILE |
| 18 |
|
| 19 |
# These variables are needed in marmita.jhbuild |
| 20 |
eval `$BB -e | grep "^STAGING_DATADIR="` |
| 21 |
export STAGING_DATADIR |
| 22 |
|
| 23 |
eval `$BB -e | grep "^export TARGET_CFLAGS="` |
| 24 |
eval `$BB -e | grep "^export TARGET_LDFLAGS="` |
| 25 |
|
| 26 |
eval `$BB -e | grep "^export PATH="` |
| 27 |
|
| 28 |
alias jhbuild="jhbuild -f $OEROOT/build/conf/marmita.jhbuildrc" |