hostapd: add support for the ccimx8mn platform

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-12-26 10:38:29 +01:00
parent fce4f44e68
commit dd723df576
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# Copyright (C) 2016-2019 Digi International.
# Copyright (C) 2016-2020 Digi International.
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
@ -9,6 +9,7 @@ SRC_URI_append = " \
SRC_URI_append_ccimx6ul = " file://hostapd_wlan1.conf"
SRC_URI_append_ccimx6qpsbc = " file://hostapd_wlan1.conf"
SRC_URI_append_ccimx8x = " file://hostapd_wlan1.conf"
SRC_URI_append_ccimx8mn = " file://hostapd_wlan1.conf"
SYSTEMD_SERVICE_${PN}_append = " hostapd@.service"
@ -37,6 +38,11 @@ do_install_append_ccimx8x() {
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
}
do_install_append_ccimx8mn() {
# Install custom hostapd_IFACE.conf file
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
}
pkg_postinst_ontarget_${PN}() {
# Exit if there is no wireless hardware available
if [ ! -e /proc/device-tree/wireless/mac-address ]; then

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2012-2019 Digi International.
# Copyright (C) 2012-2020 Digi International.
#
SUMMARY = "Wireless packagegroup for DEY image"
@ -17,3 +17,4 @@ RDEPENDS_${PN} = "\
RDEPENDS_${PN}_append_ccimx6ul = " hostapd"
RDEPENDS_${PN}_append_ccimx6qpsbc = " hostapd"
RDEPENDS_${PN}_append_ccimx8x = " hostapd"
RDEPENDS_${PN}_append_ccimx8mn = " hostapd"