ath-prop-tools: fix package installation from prebuilt binaries
athtestcmd and wmiconfig are proprietary tools from Atheros. When installed from GitHub we use prebuilt binaries because we cannot provide the source code to the customers. The prebuilt binaries need to be platform dependent, because the 'ccardimx28' uses soft-float binaries while the 'ccimx6' uses hard-float binaries. Otherwise there is a failure: root@ccimx6sbc:~# /usr/sbin/athtestcmd -sh: /usr/sbin/athtestcmd: not found While on it, removed the checksums for the binaries, as Yocto does not verify checksums for local files by default, only for downloaded files. https://jira.digi.com/browse/DEL-1586 Signed-off-by: Javier Viguera <javier.viguera@digi.com> (cherry picked from commit 8a3a124c75a885a619b41bf1e17118f1b3dec13c)
This commit is contained in:
parent
5200b47e1f
commit
3bd1aef5d7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -15,21 +15,17 @@ SRC_URI_src = " \
|
||||||
file://0001-cross-compile.patch \
|
file://0001-cross-compile.patch \
|
||||||
"
|
"
|
||||||
SRC_URI_bin = " \
|
SRC_URI_bin = " \
|
||||||
file://athtestcmd;name=athtestcmd \
|
file://athtestcmd \
|
||||||
file://wmiconfig;name=wmiconfig \
|
file://wmiconfig \
|
||||||
"
|
"
|
||||||
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_src}', '${SRC_URI_bin}', d)}"
|
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_src}', '${SRC_URI_bin}', d)}"
|
||||||
|
|
||||||
SRC_URI[tarball.md5sum] = "5693e26e904ee7b829bc09a202b5fdcb"
|
SRC_URI[tarball.md5sum] = "5693e26e904ee7b829bc09a202b5fdcb"
|
||||||
SRC_URI[tarball.sha256sum] = "9d29113a9832ee4960d75c42e0ba229c71ebfe1f1f6f7738b213329c6214e708"
|
SRC_URI[tarball.sha256sum] = "9d29113a9832ee4960d75c42e0ba229c71ebfe1f1f6f7738b213329c6214e708"
|
||||||
|
|
||||||
SRC_URI[athtestcmd.md5sum] = "1ef34615e67692ba68aeeab6bf665d7c"
|
|
||||||
SRC_URI[athtestcmd.sha256sum] = "195c32fc54ec336a7daed165929427addb53605f7cf1709478b89704efb84269"
|
|
||||||
SRC_URI[wmiconfig.md5sum] = "f502062cdecae89cd68562e476a896c9"
|
|
||||||
SRC_URI[wmiconfig.sha256sum] = "687b7139904b1de7424abfdf7968d30fe2cef3c9bae95638e05d9532aa2bca2b"
|
|
||||||
|
|
||||||
S = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${WORKDIR}/${ATH_PROP_PN}', '${WORKDIR}', d)}"
|
S = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${WORKDIR}/${ATH_PROP_PN}', '${WORKDIR}', d)}"
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} = "already-stripped"
|
||||||
EXTRA_OEMAKE = ""
|
EXTRA_OEMAKE = ""
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
|
|
@ -51,4 +47,4 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
COMPATIBLE_MACHINE = "(mxs|mx6)"
|
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue