mirror of
https://github.com/NXP/imx-firmware.git
synced 2025-01-15 10:15:33 +00:00
imx-firmware: add Makefile to make yocto installation easy.
Add Makefile to make yocto install NXP WLAN firmware binaries easily. Usage: 1. Specify the installation directory: make install INSTALLDIR=${DEPLOYDIR} 2. Use the default directory wlan_fw: make install 3. Clean up the installation directory: make clean / make clean INSTALLDIR=${DEPLOYDIR} Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
This commit is contained in:
parent
9ba6bfbcda
commit
ec48403009
1 changed files with 42 additions and 0 deletions
42
Makefile
Normal file
42
Makefile
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# File: Makefile
|
||||||
|
#
|
||||||
|
# Copyright 2023 NXP
|
||||||
|
#
|
||||||
|
# This software file (the File) is distributed by NXP
|
||||||
|
# under the terms of the GNU General Public License Version 2, June 1991
|
||||||
|
# (the License). You may use, redistribute and/or modify the File in
|
||||||
|
# accordance with the terms and conditions of the License, a copy of which
|
||||||
|
# is available by writing to the Free Software Foundation, Inc.,
|
||||||
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
|
||||||
|
# worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
||||||
|
#
|
||||||
|
# THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
|
||||||
|
# IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
# ARE EXPRESSLY DISCLAIMED. The License provides additional details about
|
||||||
|
# this warranty disclaimer.
|
||||||
|
#
|
||||||
|
|
||||||
|
INSTALLDIR ?= wlan_fw
|
||||||
|
|
||||||
|
install:
|
||||||
|
|
||||||
|
@if [ ! -d $(INSTALLDIR) ]; then \
|
||||||
|
mkdir $(INSTALLDIR); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
install -m 0644 nxp/wifi_mod_para.conf $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/mfguart/helper_uart_3000000.bin $(INSTALLDIR)/
|
||||||
|
|
||||||
|
install -m 0644 nxp/FwImage_8801_SD/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_8987/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_8997/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_8997_SD/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_9098_PCIE/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_9098_SD/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_IW416_SD/* $(INSTALLDIR)/
|
||||||
|
install -m 0644 nxp/FwImage_IW612_SD/* $(INSTALLDIR)/
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -rf $(INSTALLDIR)/
|
||||||
|
|
||||||
|
# End of file
|
Loading…
Reference in a new issue