Index: meta-squeezeos/packages/atheros/files/ar6000.ko =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: meta-squeezeos/packages/atheros/files/ar6000.ko ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: meta-squeezeos/packages/atheros/files/wmiconfig =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: meta-squeezeos/packages/atheros/files/wmiconfig ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: meta-squeezeos/packages/atheros/files/bmiloader =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: meta-squeezeos/packages/atheros/files/bmiloader ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: meta-squeezeos/packages/atheros/files/eeprom.AR6002 =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: meta-squeezeos/packages/atheros/files/eeprom.AR6002 ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: meta-squeezeos/packages/atheros/atheros-ar6-module-bin_1.0.bb =================================================================== --- meta-squeezeos/packages/atheros/atheros-ar6-module-bin_1.0.bb (revision 0) +++ meta-squeezeos/packages/atheros/atheros-ar6-module-bin_1.0.bb (revision 0) @@ -0,0 +1,56 @@ +DESCRIPTION = "Atheros AR6 sdio wlan driver" +SECTION = "base" +LICENSE = "binary only" + +PR = "r18" + +PROVIDES = "atheros-ar6-module" + +DEPENDS = "virtual/kernel" +#RDEPENDS = "wireless-tools" + +SRC_URI="\ + file://ar6000.ko \ + file://bmiloader \ + file://wmiconfig \ + file://eeprom.AR6002 \ + file://wlan \ + file://athwlan.bin \ + file://calData_ar6102_15dBm.bin \ + file://data.patch.hw2_0.bin \ + file://loadAR6000l.sh \ +" + +inherit module-base + +INHIBIT_PACKAGE_STRIP = 1 + +do_install() { + INSTALL_DIR=${D}/${base_libdir}/atheros + install -m 0755 -d ${INSTALL_DIR} + + # kernel module + install -m 0644 ${WORKDIR}/ar6000.ko ${INSTALL_DIR}/ar6000.ko + + # tools + install -m 0755 ${WORKDIR}/bmiloader ${INSTALL_DIR}/bmiloader + install -m 0755 ${WORKDIR}/wmiconfig ${INSTALL_DIR}/wmiconfig + install -m 0755 ${WORKDIR}/eeprom.AR6002 ${INSTALL_DIR}/eeprom.AR6002 + + # firmware + install -m 0644 ${WORKDIR}/athwlan.bin ${INSTALL_DIR}/athwlan.bin + install -m 0644 ${WORKDIR}/data.patch.hw2_0.bin ${INSTALL_DIR}/data.patch.hw2_0.bin + + # scripts + install -m 0644 ${WORKDIR}/calData_ar6102_15dBm.bin ${INSTALL_DIR}/calData_ar6102_15dBm.bin + install -m 0755 ${WORKDIR}/loadAR6000l.sh ${INSTALL_DIR}/loadAR6000l.sh + + install -m 0755 -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/wlan ${D}${sysconfdir}/init.d/wlan +} + + +PACKAGES = "atheros-ar6-module-dbg atheros-ar6-module" + +FILES_atheros-ar6-module = "${base_libdir}/modules/${KERNEL_VERSION} ${base_libdir}/atheros ${sysconfdir}" +FILES_atheros-ar6-module-dbg = "${base_libdir}/modules/${KERNEL_VERSION}/.debug ${base_libdir}/atheros/.debug"