run: time before env to use bash builtin and get decent format, runqemu: remove spaces from cmd to make copy and paste on SO easier

This commit is contained in:
Ciro Santilli
2017-10-18 14:45:44 +01:00
parent 7988dfb60a
commit d67626255e
2 changed files with 40 additions and 40 deletions

2
run
View File

@@ -45,9 +45,9 @@ make O="$outdir" olddefconfig
# It shouldn't be necessary in the first place: https://bugs.busybox.net/show_bug.cgi?id=9936 # It shouldn't be necessary in the first place: https://bugs.busybox.net/show_bug.cgi?id=9936
# Even if were an autotools package, there is no general way currently to pass extra configs to it: # Even if were an autotools package, there is no general way currently to pass extra configs to it:
# https://stackoverflow.com/questions/44341188/how-to-pass-extra-custom-configure-autotools-options-to-a-buildroot-package/44341225#44341225 # https://stackoverflow.com/questions/44341188/how-to-pass-extra-custom-configure-autotools-options-to-a-buildroot-package/44341225#44341225
time \
env \ env \
-u LD_LIBRARY_PATH \ -u LD_LIBRARY_PATH \
time \
make \ make \
O="$outdir" \ O="$outdir" \
BR2_JLEVEL="$(($(nproc) - 2))" \ BR2_JLEVEL="$(($(nproc) - 2))" \

View File

@@ -69,7 +69,7 @@ case "$arch" in
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \ -drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
-kernel ${images_dir}/bzImage \ -kernel ${images_dir}/bzImage \
-net nic,model=virtio \ -net nic,model=virtio \
$extra_flags $extra_flags \
" "
;; ;;
'arm') 'arm')
@@ -84,7 +84,7 @@ case "$arch" in
-kernel ${images_dir}/zImage \ -kernel ${images_dir}/zImage \
-net nic,model=rtl8139 \ -net nic,model=rtl8139 \
-serial stdio \ -serial stdio \
$extra_flags $extra_flags \
" "
;; ;;
'aarch64') 'aarch64')
@@ -101,7 +101,7 @@ case "$arch" in
-netdev user,id=eth0 \ -netdev user,id=eth0 \
-nographic \ -nographic \
-serial stdio \ -serial stdio \
$extra_flags $extra_flags \
" "
;; ;;
'mips64') 'mips64')
@@ -113,7 +113,7 @@ case "$arch" in
-kernel ${images_dir}/vmlinux \ -kernel ${images_dir}/vmlinux \
-nographic \ -nographic \
-net nic,model=pcnet \ -net nic,model=pcnet \
$extra_flags $extra_flags \
" "
;; ;;
esac esac