-DESCRIPTION = "TI DSP/BIOS for Davinci and OMAP processor"
+DESCRIPTION = "TI DSP/BIOS v5 Kernel"
+HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios"
+SECTION = "devel"
+LICENSE = "TI"
-# This file defines function used for extracting .bin file
+require ti-paths.inc
+require ti-staging.inc
+require ti-eula-unpack.inc
-python do_unpack () {
- bb.build.exec_func('base_do_unpack', d)
- bb.build.exec_func('ti_bin_do_unpack', d)
-}
-
-python ti_bin_do_unpack() {
-
- import os
-
- localdata = bb.data.createCopy(d)
- bb.data.update_data(localdata)
-
- binfile = bb.data.getVar('BINFILE', localdata)
+PR = "r1"
- # Change to the working directory
- save_cwd = os.getcwd()
- workdir = bb.data.getVar('WORKDIR', localdata)
- workdir = bb.data.expand(workdir, localdata)
- os.chdir(workdir)
+S = "${WORKDIR}/bios_${PV}"
- # Make the InstallJammer binary executable so we can run it
- os.chmod(binfile, 0755)
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=biosbin"
- # Run the InstallJammer binary and accept the EULA
- filename = "HOME=%s ./%s" % (workdir, binfile)
- f = os.popen(filename,'w')
- print >>f, "Y\n"
- print >>f, " qY\n"
- print >>f, "%s\n" % workdir
- print >>f, "Y\n"
- f.close()
+BINFILE="bios_setuplinux_${PV}.bin"
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
- # Return to the previous directory
- os.chdir(save_cwd)
+do_install() {
+ install -d ${D}${BIOS_INSTALL_DIR_RECIPE}
+ cp -pPrf ${S}/* ${D}${BIOS_INSTALL_DIR_RECIPE}
}