SUMMARY = "Deploy Boot files recipe"
DESCRIPTION = "Recipe to deploy boot files to the deploy directory"
LICENSE = "CLOSED"

LIC_FILES_CHKSUM = ""

SRC_URI = "file://bootcode.bin \
           file://bootcode_dual.bin \
	   file://bootcode_min.bin \
	   file://bootcode_min_dual.bin \
           file://bootjump.bin \
          "
          
S = "${WORKDIR}"

inherit deploy
do_deploy(){
	install -m 755 ${WORKDIR}/bootcode.bin ${DEPLOYDIR}/
	install -m 755 ${WORKDIR}/bootcode_dual.bin ${DEPLOYDIR}/
	install -m 755 ${WORKDIR}/bootcode_min.bin ${DEPLOYDIR}/
	install -m 755 ${WORKDIR}/bootcode_min_dual.bin ${DEPLOYDIR}/
	install -m 755 ${WORKDIR}/bootjump.bin ${DEPLOYDIR}/
}

addtask deploy before do_build after do_install
