initramfs-kexecboot-klibc-image: Skip for nios2

nios2 does not support klibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 21a9e43330)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2016-05-17 21:42:58 -07:00 committed by Armin Kuster
parent eefd95829c
commit e7f48b92a9

View File

@ -5,3 +5,9 @@ SUMMARY = "Initramfs image for kexecboot kernel (klibc-static binaries)"
# We really need just kexecboot, kexec and ubiattach
# statically compiled against klibc
IMAGE_INSTALL = "kexecboot-klibc kexec-klibc ubiattach-klibc"
python () {
if d.getVar('TARGET_ARCH', True) == "nios2":
raise bb.parse.SkipPackage("'nios2' not supported arch")
}