add emulation
This commit is contained in:
parent
eef770c03b
commit
1badf00d60
3 changed files with 27 additions and 16 deletions
6
emulate
Executable file
6
emulate
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
cd "$(dirname "$(realpath "$0")")"
|
||||
|
||||
|
||||
cooker shell -- qemu runqemu qemux86-64
|
|
@ -22,16 +22,21 @@
|
|||
"# softwares",
|
||||
"IMAGE_FEATURES += ' empty-root-password'",
|
||||
"EXTRA_IMAGE_FEATURES = ' debug-tweaks splash package-management'",
|
||||
"IMAGE_INSTALL += ' nano' ",
|
||||
"IMAGE_INSTALL += ' nano busybox'",
|
||||
|
||||
"# hardware",
|
||||
"MACHINE = 'qemux86-64'",
|
||||
"MACHINE_FEATURES += ' screen'",
|
||||
"ENABLE_UART = '1' ",
|
||||
"PACKAGECONFIG:append:pn-qemu-system-native = ' sdl'",
|
||||
|
||||
"# optimizations",
|
||||
"CMDLINE += ' quiet'",
|
||||
"INHERIT += ' rm_work'",
|
||||
"INHERIT += ' ccache'"
|
||||
"INHERIT += ' ccache'",
|
||||
|
||||
"# configuring sdk",
|
||||
"PACKAGECONFIG_pn-nativesdk-qemu = 'sdl'"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue