mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
core-image-tiny-initramfs: Choose WKS_FILE correctly between architectures
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
This commit is contained in:
parent
ba824ee3df
commit
ce81e55f62
|
|
@ -0,0 +1,10 @@
|
|||
# Set WKS file depending on the MACHINE picked by the user
|
||||
def wks_intel(d):
|
||||
if d.getVar('MACHINE', True) == "intel-core2-32":
|
||||
d.setVar('WKS_FILE', "systemd-bootdisk-tiny32.wks")
|
||||
elif d.getVar('MACHINE', True) == "intel-corei7-64":
|
||||
d.setVar('WKS_FILE', "systemd-bootdisk-tiny64.wks")
|
||||
elif d.getVar('MACHINE', True) == "intel-quark":
|
||||
d.setVar('WKS_FILE', "mktinygalileodisk.wks")
|
||||
|
||||
WKS_FILE_poky-tiny ?= "${@wks_intel(d)}"
|
||||
Loading…
Reference in New Issue
Block a user