From 5666f6a85ed72d2b786a41caa3ed5ec6b6437aa9 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Fri, 24 Aug 2018 16:59:34 +0200 Subject: [PATCH] hostapd: add support for the ccimx8x platform https://jira.digi.com/browse/DEL-6067 Signed-off-by: Gabriel Valcazar --- .../recipes-connectivity/hostapd/hostapd_%.bbappend | 8 +++++++- .../packagegroups/packagegroup-dey-wireless.bb | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend b/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend index 6f31b13df..c3dd56f48 100644 --- a/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend +++ b/meta-digi-dey/recipes-connectivity/hostapd/hostapd_%.bbappend @@ -1,10 +1,11 @@ -# Copyright (C) 2016,2017 Digi International. +# Copyright (C) 2016-2018 Digi International. 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" +SRC_URI_append_ccimx8x = " file://hostapd_wlan1.conf" do_install_append() { # Remove the default hostapd.conf @@ -23,6 +24,11 @@ do_install_append_ccimx6qpsbc() { 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}() { # Append the last two bytes of the wlan0 MAC address to the SSID of the # hostAP configuration files diff --git a/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-wireless.bb b/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-wireless.bb index f2d6bf9a7..acefea7a6 100644 --- a/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-wireless.bb +++ b/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-wireless.bb @@ -1,5 +1,5 @@ # -# Copyright (C) 2012-2017 Digi International. +# Copyright (C) 2012-2018 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"