From f36e8a94a1d01c3acd8ca168714638a70f03c538 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Tue, 3 Oct 2017 17:28:10 +0200 Subject: [PATCH] hostapd: add support for ccimx6qpsbc platform https://jira.digi.com/browse/DEL-5082 Signed-off-by: Arturo Buzarra --- .../hostapd/hostapd/{ccimx6ul => }/hostapd_wlan1.conf | 0 .../recipes-connectivity/hostapd/hostapd_%.bbappend | 6 ++++++ 2 files changed, 6 insertions(+) rename meta-digi-dey/recipes-connectivity/hostapd/hostapd/{ccimx6ul => }/hostapd_wlan1.conf (100%) diff --git a/meta-digi-dey/recipes-connectivity/hostapd/hostapd/ccimx6ul/hostapd_wlan1.conf b/meta-digi-dey/recipes-connectivity/hostapd/hostapd/hostapd_wlan1.conf similarity index 100% rename from meta-digi-dey/recipes-connectivity/hostapd/hostapd/ccimx6ul/hostapd_wlan1.conf rename to meta-digi-dey/recipes-connectivity/hostapd/hostapd/hostapd_wlan1.conf diff --git a/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend b/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend index 76f7b529a..6f31b13df 100644 --- a/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend +++ b/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend @@ -4,6 +4,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" SRC_URI_append = " file://hostapd_wlan0.conf" SRC_URI_append_ccimx6ul = " file://hostapd_wlan1.conf" +SRC_URI_append_ccimx6qpsbc = " file://hostapd_wlan1.conf" do_install_append() { # Remove the default hostapd.conf @@ -17,6 +18,11 @@ do_install_append_ccimx6ul() { install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir} } +do_install_append_ccimx6qpsbc() { + # Install custom hostapd_IFACE.conf file + install -m 0644 ${WORKDIR}/hostapd_wlan1.conf ${D}${sysconfdir} +} + pkg_postinst_${PN}() { # Append the last two bytes of the wlan0 MAC address to the SSID of the # hostAP configuration files