kernel-module-atheros: add calibration file for mx6

This adds the calibration file for US regulatory (still missing the
world-regulatory calibration file)

https://jira.digi.com/browse/DEL-1102

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-06-12 18:34:28 +02:00
parent c726a9c0bb
commit dbf830b6a0
3 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,9 @@ SRC_URI += " \
${@base_conditional('IS_KERNEL_2X', '1' , '', 'file://0002-atheros-update-renamed-struct-members.patch', d)} \
"
# MX6 wireless calibration file
SRC_URI_append_mx6 = " file://Digi_6203-6233-US.bin"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "DEL_PLATFORM=${MACHINE} KLIB_BUILD=${STAGING_KERNEL_DIR}"
@ -34,6 +37,10 @@ do_configure_prepend() {
cp ${WORKDIR}/Makefile ${S}/
}
do_configure_prepend_mx6() {
cp ${WORKDIR}/Digi_6203-6233-US.bin ${S}/Firmware_Package/target/AR6003/hw2.1.1/
}
do_install_append() {
install -d ${D}${sysconfdir}/network/if-pre-up.d
install -m 0755 ${WORKDIR}/atheros ${D}${sysconfdir}/network/if-pre-up.d/