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:
parent
fce4f44e68
commit
dd723df576
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue