init
This commit is contained in:
commit
8e0e9b842c
5 changed files with 65 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/layers
|
||||||
|
/builds
|
||||||
|
/downloads
|
||||||
|
/sstate-cache
|
||||||
|
/.cookerconfig
|
10
.vscode/settings.json
vendored
Normal file
10
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"json.schemas": [
|
||||||
|
{
|
||||||
|
"fileMatch": [
|
||||||
|
"/menu.json"
|
||||||
|
],
|
||||||
|
"url": "https://raw.githubusercontent.com/cpb-/yocto-cooker/master/cooker/cooker-menu-schema.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# yocto scarthgap base project
|
||||||
|
|
||||||
|
This is an empty YOCTO 5.0 scarthgap project targeting generic hardware.
|
9
build.sh
Executable file
9
build.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
cd "$(dirname "$(realpath "$0")")"
|
||||||
|
|
||||||
|
|
||||||
|
cooker init --force menu.json
|
||||||
|
cooker generate
|
||||||
|
cooker update
|
||||||
|
cooker build --keepgoing
|
38
menu.json
Normal file
38
menu.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"sources" : [
|
||||||
|
{ "url": "git://git.yoctoproject.org/poky", "branch": "scarthgap", "rev": "703740d19f" },
|
||||||
|
{ "url": "git://git.openembedded.org/meta-openembedded", "branch": "scarthgap", "rev": "1235dd4ed" }
|
||||||
|
],
|
||||||
|
|
||||||
|
"layers" : [
|
||||||
|
"poky/meta",
|
||||||
|
"poky/meta-poky",
|
||||||
|
"poky/meta-yocto-bsp",
|
||||||
|
"meta-openembedded/meta-oe"
|
||||||
|
],
|
||||||
|
|
||||||
|
"builds" : {
|
||||||
|
"qemu": {
|
||||||
|
"target" : "core-image-base",
|
||||||
|
"local.conf": [
|
||||||
|
"# distro",
|
||||||
|
"DISTRO = 'poky' ",
|
||||||
|
"PACKAGE_CLASSES = 'package_deb' ",
|
||||||
|
|
||||||
|
"# softwares",
|
||||||
|
"IMAGE_FEATURES += ' empty-root-password' ",
|
||||||
|
"EXTRA_IMAGE_FEATURES = ' debug-tweaks splash package-management' ",
|
||||||
|
"IMAGE_INSTALL += ' nano' ",
|
||||||
|
|
||||||
|
"# hardware",
|
||||||
|
"MACHINE = 'qemux86-64' ",
|
||||||
|
"ENABLE_UART = '1' ",
|
||||||
|
|
||||||
|
"# optimizations",
|
||||||
|
"CMDLINE += ' quiet' ",
|
||||||
|
"INHERIT += ' rm_work'",
|
||||||
|
"INHERIT += ' ccache'"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue