SUMMARY = "Soft Parser Configuration tool" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=163b09a1c249a6ff2b28da1ceca2e0a8" DEPENDS = "libxml2 fmlib tclap" SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1" SRCREV = "d624b7809be48e4cf29a7bfa201028e4de1d1955" S = "${WORKDIR}/git" EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' EXTRA_OEMAKE_PLATFORM ?= "" do_compile () { oe_runmake -C source } do_install () { install -d ${D}/${bindir} install -m 755 ${S}/source/spc ${D}/${bindir} install -d ${D}${sysconfdir}/spc/config install -m 644 ${S}${sysconfdir}/spc/config/* ${D}${sysconfdir}/spc/config } PARALLEL_MAKE = "" PACKAGE_ARCH = "${MACHINE_SOCARCH}" COMPATIBLE_MACHINE = "(qoriq-arm64)"