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
|
21
menu.json
21
menu.json
|
@ -16,22 +16,27 @@
|
||||||
"target" : "core-image-base",
|
"target" : "core-image-base",
|
||||||
"local.conf": [
|
"local.conf": [
|
||||||
"# distro",
|
"# distro",
|
||||||
"DISTRO = 'poky' ",
|
"DISTRO = 'poky'",
|
||||||
"PACKAGE_CLASSES = 'package_deb' ",
|
"PACKAGE_CLASSES = 'package_deb'",
|
||||||
|
|
||||||
"# softwares",
|
"# softwares",
|
||||||
"IMAGE_FEATURES += ' empty-root-password' ",
|
"IMAGE_FEATURES += ' empty-root-password'",
|
||||||
"EXTRA_IMAGE_FEATURES = ' debug-tweaks splash package-management' ",
|
"EXTRA_IMAGE_FEATURES = ' debug-tweaks splash package-management'",
|
||||||
"IMAGE_INSTALL += ' nano' ",
|
"IMAGE_INSTALL += ' nano busybox'",
|
||||||
|
|
||||||
"# hardware",
|
"# hardware",
|
||||||
"MACHINE = 'qemux86-64' ",
|
"MACHINE = 'qemux86-64'",
|
||||||
|
"MACHINE_FEATURES += ' screen'",
|
||||||
"ENABLE_UART = '1' ",
|
"ENABLE_UART = '1' ",
|
||||||
|
"PACKAGECONFIG:append:pn-qemu-system-native = ' sdl'",
|
||||||
|
|
||||||
"# optimizations",
|
"# optimizations",
|
||||||
"CMDLINE += ' quiet' ",
|
"CMDLINE += ' quiet'",
|
||||||
"INHERIT += ' rm_work'",
|
"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