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
|
33
menu.json
33
menu.json
|
@ -15,24 +15,29 @@
|
|||
"qemu": {
|
||||
"target" : "core-image-base",
|
||||
"local.conf": [
|
||||
"# distro",
|
||||
"DISTRO = 'poky' ",
|
||||
"PACKAGE_CLASSES = 'package_deb' ",
|
||||
"# distro",
|
||||
"DISTRO = 'poky'",
|
||||
"PACKAGE_CLASSES = 'package_deb'",
|
||||
|
||||
"# softwares",
|
||||
"IMAGE_FEATURES += ' empty-root-password' ",
|
||||
"EXTRA_IMAGE_FEATURES = ' debug-tweaks splash package-management' ",
|
||||
"IMAGE_INSTALL += ' nano' ",
|
||||
"# softwares",
|
||||
"IMAGE_FEATURES += ' empty-root-password'",
|
||||
"EXTRA_IMAGE_FEATURES = ' debug-tweaks splash package-management'",
|
||||
"IMAGE_INSTALL += ' nano busybox'",
|
||||
|
||||
"# hardware",
|
||||
"MACHINE = 'qemux86-64' ",
|
||||
"# 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'"
|
||||
]
|
||||
"# optimizations",
|
||||
"CMDLINE += ' quiet'",
|
||||
"INHERIT += ' rm_work'",
|
||||
"INHERIT += ' ccache'",
|
||||
|
||||
"# configuring sdk",
|
||||
"PACKAGECONFIG_pn-nativesdk-qemu = 'sdl'"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue