Commit da09ab6e authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Got the Yocto process working up to do_image_wic

parent 01db9ed5
......@@ -28,9 +28,12 @@ DISTRO_FEATURES_LIBC_libc_newlib = "ipv4 ipv6 libc-backtrace libc-big-macros lib
DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${TOKI_DEFAULT_DISTRO_FEATURES}"
PREFERRED_PROVIDER_virtual/kernel = "freertos"
PREFERRED_PROVIDER_virtual/boot-bin = "xilinx-bootbin"
PREFERRED_PROVIDER_virtual/bootloader = "xilinx-bootbin"
EXTRA_IMAGEDEPENDS_remove = "u-boot-zynq-uenv arm-trusted-firmware virtual/boot-bin virtual/bootloader"
EXTRA_IMAGEDEPENDS_remove = "u-boot-zynq-uenv arm-trusted-firmware"
IMAGE_BOOT_FILES_remove = "Image u-boot.bin uEnv.txt atf-uboot.ub"
IMAGE_BOOT_FILES += " boot.bin"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
......
......@@ -109,7 +109,7 @@ DISTRO ?= "poky"
# - 'package_rpm' for rpm style packages
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# We default to rpm:
PACKAGE_CLASSES ?= "package_rpm"
PACKAGE_CLASSES ?= "package_ipk"
#
# SDK target architecture
......@@ -142,7 +142,7 @@ PACKAGE_CLASSES ?= "package_rpm"
# There are other application targets that can be used here too, see
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
EXTRA_IMAGE_FEATURES = ""
#
# Additional image features
......@@ -161,10 +161,13 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
# Runtime testing of images
#
# The build system can test booting virtual machine images under qemu (an emulator)
# after any root filesystems are created and run tests against those images. To
# enable this uncomment this line. See classes/testimage(-auto).bbclass for
# further details.
#TEST_IMAGE = "1"
# after any root filesystems are created and run tests against those images. It can also
# run tests against any SDK that are built. To enable this uncomment these lines.
# See classes/test{image,sdk}.bbclass for further details.
#IMAGE_CLASSES += "testimage testsdk"
#TESTIMAGE_AUTO_qemuall = "1"
IMAGE_CLASSES = "image-types-xilinx-qemu qemuboot-xilinx"
IMAGE_FSTYPES = "wic.qemu-sd"
#
# Interactive shell configuration
......
......@@ -9,3 +9,7 @@ DEPENDS = "freertos-headers freertos-config freertos-plus freertos-portable"
PROVIDES += "virtual/kernel"
EXTRA_OECMAKE_append = " -DWITH_HEADERS:BOOL=FALSE"
python do_deploy () {
}
addtask do_deploy after do_compile
LICENSE = "CLOSED"
inherit package_ipk
python() {
# generate list of multiconf dependencies representing all required images
enabled_cores = set(d.getVar("TOKI_SLAVE_CORES", True).split())
......@@ -46,9 +48,8 @@ do_fetch[noexec] = "1"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_configure[noexec] = "1"
do_install[noexec] = "1"
do_populate_sysroot[noexec] = "1"
do_package[noexec] = "1"
do_package_write_rpm[noexec] = "1"
do_package_qa[noexec] = "1"
do_packagedata[noexec] = "1"
#do_install[noexec] = "1"
#do_populate_sysroot[noexec] = "1"
#do_package[noexec] = "1"
#do_package_qa[noexec] = "1"
#do_packagedata[noexec] = "1"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment