hostapd: add support for the ccimx8x platform
https://jira.digi.com/browse/DEL-6067 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
afae4f6bfd
commit
5666f6a85e
|
|
@ -1,10 +1,11 @@
|
||||||
# Copyright (C) 2016,2017 Digi International.
|
# Copyright (C) 2016-2018 Digi International.
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||||
|
|
||||||
SRC_URI_append = " file://hostapd_wlan0.conf"
|
SRC_URI_append = " file://hostapd_wlan0.conf"
|
||||||
SRC_URI_append_ccimx6ul = " file://hostapd_wlan1.conf"
|
SRC_URI_append_ccimx6ul = " file://hostapd_wlan1.conf"
|
||||||
SRC_URI_append_ccimx6qpsbc = " file://hostapd_wlan1.conf"
|
SRC_URI_append_ccimx6qpsbc = " file://hostapd_wlan1.conf"
|
||||||
|
SRC_URI_append_ccimx8x = " file://hostapd_wlan1.conf"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
# Remove the default hostapd.conf
|
# Remove the default hostapd.conf
|
||||||
|
|
@ -23,6 +24,11 @@ do_install_append_ccimx6qpsbc() {
|
||||||
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
|
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append_ccimx8x() {
|
||||||
|
# Install custom hostapd_IFACE.conf file
|
||||||
|
install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir}
|
||||||
|
}
|
||||||
|
|
||||||
pkg_postinst_${PN}() {
|
pkg_postinst_${PN}() {
|
||||||
# Append the last two bytes of the wlan0 MAC address to the SSID of the
|
# Append the last two bytes of the wlan0 MAC address to the SSID of the
|
||||||
# hostAP configuration files
|
# hostAP configuration files
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012-2017 Digi International.
|
# Copyright (C) 2012-2018 Digi International.
|
||||||
#
|
#
|
||||||
SUMMARY = "Wireless packagegroup for DEY image"
|
SUMMARY = "Wireless packagegroup for DEY image"
|
||||||
|
|
||||||
|
|
@ -17,3 +17,4 @@ RDEPENDS_${PN} = "\
|
||||||
|
|
||||||
RDEPENDS_${PN}_append_ccimx6ul = " hostapd"
|
RDEPENDS_${PN}_append_ccimx6ul = " hostapd"
|
||||||
RDEPENDS_${PN}_append_ccimx6qpsbc = " hostapd"
|
RDEPENDS_${PN}_append_ccimx6qpsbc = " hostapd"
|
||||||
|
RDEPENDS_${PN}_append_ccimx8x = " hostapd"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue