# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)

# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
#   drivers/snps/fw/snps_license.txt
LICENSE = "Unknown"
LIC_FILES_CHKSUM = "file://drivers/snps/fw/snps_license.txt;md5=eec6820d302b600f6c1dc29d86f75ccb"

SRC_URI = "git://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git;branch=mv-ddr-devel;protocol=https \
           file://0001-COMPILE-fix-stack-overflow-warning.patch \
           file://0001-fix-compilation-errors-popped-up-by-GCC-10.patch \
           "

# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "305d923e6bc4236cd3b902f6679b0aef9e5fa52d"

S = "${WORKDIR}/git"

do_configure () {
	:
}

do_compile () {
   :
}

do_install () {
    # The sources are needed by arm-trusted-firmware
    install -d "${D}/usr/src/${PN}"
    cp -r "${S}/." "${D}/usr/src/${PN}/"
}

FILES:${PN}-dev = "/usr/src/${PN}"
INSANE_SKIP:${PN}-dev += "file-rdeps"
SYSROOT_DIRS +=  " /usr/src/${PN} "
