mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
alias and function for yocto
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
e027530ca5
commit
c74255958f
1 changed files with 49 additions and 0 deletions
|
|
@ -2,3 +2,52 @@
|
||||||
autoload -U +X bashcompinit && bashcompinit
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
|
||||||
alias bb='bitbake'
|
alias bb='bitbake'
|
||||||
|
|
||||||
|
function bb-enter-env(){
|
||||||
|
cd ~/projects/yocto
|
||||||
|
source ./build/envsetup.sh
|
||||||
|
lunch sofia_lte-eng
|
||||||
|
}
|
||||||
|
|
||||||
|
function bb-publish(){
|
||||||
|
(
|
||||||
|
cd ~/projects/yocto
|
||||||
|
bitbake publish
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function bb-bootimage(){
|
||||||
|
(
|
||||||
|
cd ~/projects/yocto
|
||||||
|
bitbake bootimage-fls
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function flash-bootimage(){
|
||||||
|
(
|
||||||
|
cd ~/projects/yocto/out/pub/sofia-lte/images/sofia-lte/signed_fls
|
||||||
|
/opt/intel/platformflashtool/bin/downloadTool \
|
||||||
|
--library=/opt/intel/platformflashtool/lib/libDownloadTool.so \
|
||||||
|
--verbose 4 \
|
||||||
|
psi_flash_signed.fls \
|
||||||
|
boot-sofia-lte_signed.fls
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function flash-all(){
|
||||||
|
(
|
||||||
|
cd ~/projects/yocto/out/pub/sofia-lte/images/sofia-lte/signed_fls
|
||||||
|
/opt/intel/platformflashtool/bin/downloadTool \
|
||||||
|
--library=/opt/intel/platformflashtool/lib/libDownloadTool.so \
|
||||||
|
--verbose 4 \
|
||||||
|
psi_flash_signed.fls \
|
||||||
|
boot-sofia-lte_signed.fls \
|
||||||
|
mobilevisor_signed.fls \
|
||||||
|
mvconfig_smp_signed.fls \
|
||||||
|
secvm_signed.fls \
|
||||||
|
slb_signed.fls \
|
||||||
|
splash_img_signed.fls \
|
||||||
|
system-sofia-lte_signed.fls \
|
||||||
|
ucode_patch_signed.fls
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue