2020-04-19 16:54:27 +00:00
|
|
|
# File: Makefile
|
|
|
|
#
|
2022-11-11 02:57:56 +00:00
|
|
|
# Copyright 2008-2022 NXP
|
2020-04-19 16:54:27 +00:00
|
|
|
#
|
2022-11-11 02:57:56 +00:00
|
|
|
# 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.
|
2020-04-19 16:54:27 +00:00
|
|
|
#
|
2022-11-11 02:57:56 +00:00
|
|
|
# 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.
|
2020-04-19 16:54:27 +00:00
|
|
|
#
|
|
|
|
|
2021-04-01 03:15:14 +00:00
|
|
|
CONFIG_COMPATDIR=n
|
|
|
|
ifeq ($(CONFIG_COMPATDIR), y)
|
2020-04-19 16:54:27 +00:00
|
|
|
COMPATDIR=/lib/modules/$(KERNELVERSION_X86)/build/compat-wireless-3.2-rc1-1/include
|
2020-12-02 05:38:14 +00:00
|
|
|
CC ?= $(CROSS_COMPILE)gcc -I$(COMPATDIR)
|
2021-04-01 03:15:14 +00:00
|
|
|
else
|
2022-04-19 06:46:37 +00:00
|
|
|
CC ?= $(CROSS_COMPILE)gcc -I$(COMPATDIR)
|
2020-04-19 16:54:27 +00:00
|
|
|
endif
|
2021-04-01 03:15:14 +00:00
|
|
|
|
|
|
|
LD ?= $(CROSS_COMPILE)ld
|
2020-04-19 16:54:27 +00:00
|
|
|
BACKUP= /root/backup
|
|
|
|
YMD= `date +%Y%m%d%H%M`
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# Configuration Options
|
|
|
|
#############################################################################
|
|
|
|
# Multi-chipsets
|
|
|
|
CONFIG_SD8887=n
|
|
|
|
CONFIG_SD8897=n
|
|
|
|
CONFIG_USB8897=n
|
|
|
|
CONFIG_PCIE8897=n
|
|
|
|
CONFIG_SD8977=n
|
2021-07-18 09:43:16 +00:00
|
|
|
CONFIG_SD8978=y
|
2020-04-19 16:54:27 +00:00
|
|
|
CONFIG_USB8978=n
|
2021-04-01 03:15:14 +00:00
|
|
|
CONFIG_SD8997=y
|
2020-04-19 16:54:27 +00:00
|
|
|
CONFIG_USB8997=n
|
2020-12-02 05:38:14 +00:00
|
|
|
CONFIG_PCIE8997=y
|
2020-04-19 16:54:27 +00:00
|
|
|
CONFIG_SD8987=y
|
|
|
|
CONFIG_SD9097=n
|
2022-11-04 10:58:07 +00:00
|
|
|
CONFIG_SD9177=y
|
2021-10-09 02:29:40 +00:00
|
|
|
CONFIG_SD8801=y
|
2021-05-06 11:10:31 +00:00
|
|
|
CONFIG_USB8801=n
|
2020-04-19 16:54:27 +00:00
|
|
|
CONFIG_USB9097=n
|
|
|
|
CONFIG_PCIE9097=n
|
2021-12-09 04:07:20 +00:00
|
|
|
CONFIG_SD9098=y
|
2020-04-19 16:54:27 +00:00
|
|
|
CONFIG_USB9098=n
|
2021-04-01 03:15:14 +00:00
|
|
|
CONFIG_PCIE9098=y
|
2023-05-25 13:42:02 +00:00
|
|
|
CONFIG_SDIW62X=n
|
|
|
|
CONFIG_SDAW693=n
|
|
|
|
CONFIG_PCIEIW62X=n
|
|
|
|
CONFIG_USBIW62X=n
|
|
|
|
CONFIG_PCIEAW693=n
|
|
|
|
|
2020-04-19 16:54:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Debug Option
|
|
|
|
# DEBUG LEVEL n/1/2:
|
|
|
|
# n: NO DEBUG
|
|
|
|
# 1: Only PRINTM(MMSG,...), PRINTM(MFATAL,...), ...
|
|
|
|
# 2: All PRINTM()
|
|
|
|
CONFIG_DEBUG=1
|
|
|
|
|
|
|
|
# Enable STA mode support
|
|
|
|
CONFIG_STA_SUPPORT=y
|
|
|
|
|
|
|
|
# Enable uAP mode support
|
|
|
|
CONFIG_UAP_SUPPORT=y
|
|
|
|
|
|
|
|
# Enable WIFIDIRECT support
|
|
|
|
CONFIG_WIFI_DIRECT_SUPPORT=y
|
|
|
|
|
|
|
|
|
|
|
|
# Re-association in driver
|
|
|
|
CONFIG_REASSOCIATION=y
|
|
|
|
|
|
|
|
|
|
|
|
# Manufacturing firmware support
|
|
|
|
CONFIG_MFG_CMD_SUPPORT=y
|
|
|
|
|
|
|
|
# OpenWrt support
|
|
|
|
CONFIG_OPENWRT_SUPPORT=n
|
|
|
|
|
2022-11-11 02:57:56 +00:00
|
|
|
# Big-endian platform
|
|
|
|
CONFIG_BIG_ENDIAN=n
|
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#ifdef EMBEDDED_AUTH
|
|
|
|
# Enable driver based authenticator
|
|
|
|
CONFIG_DRV_EMBEDDED_AUTHENTICATOR=n
|
|
|
|
#endif
|
2020-04-19 16:54:27 +00:00
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#ifdef EMBEDDED_SUPP
|
|
|
|
# Enable driver based supplicant
|
|
|
|
CONFIG_DRV_EMBEDDED_SUPPLICANT=n
|
|
|
|
#endif
|
2020-04-19 16:54:27 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_DRV_EMBEDDED_SUPPLICANT), y)
|
|
|
|
CONFIG_EMBEDDED_SUPP_AUTH=y
|
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_DRV_EMBEDDED_AUTHENTICATOR), y)
|
|
|
|
CONFIG_EMBEDDED_SUPP_AUTH=y
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
#ifdef SDIO_MMC
|
|
|
|
# SDIO suspend/resume
|
|
|
|
CONFIG_SDIO_SUSPEND_RESUME=y
|
|
|
|
#endif
|
|
|
|
|
|
|
|
# DFS testing support
|
|
|
|
CONFIG_DFS_TESTING_SUPPORT=y
|
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
# Multi-channel support
|
|
|
|
CONFIG_MULTI_CHAN_SUPPORT=y
|
2020-04-19 16:54:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#32bit app over 64bit kernel support
|
|
|
|
CONFIG_USERSPACE_32BIT_OVER_KERNEL_64BIT=n
|
|
|
|
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# Select Platform Tools
|
|
|
|
#############################################################################
|
|
|
|
|
2020-12-05 11:42:54 +00:00
|
|
|
MODEXT = ko
|
2021-04-01 03:15:14 +00:00
|
|
|
ccflags-y += -I$(PWD)/mlan
|
2020-04-19 16:54:27 +00:00
|
|
|
ccflags-y += -DLINUX
|
|
|
|
|
2021-04-01 03:15:14 +00:00
|
|
|
|
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#if defined(EMBEDDED_SUPP) || defined(EMBEDDED_AUTH)
|
|
|
|
ifeq ($(CONFIG_EMBEDDED_SUPP_AUTH), y)
|
|
|
|
ccflags-y += -I$(M)/mlan/esa
|
|
|
|
ccflags-y += -I$(M)/mlan/esa/common
|
|
|
|
endif
|
|
|
|
#endif
|
2021-04-01 03:15:14 +00:00
|
|
|
|
|
|
|
|
2022-04-19 06:46:37 +00:00
|
|
|
|
2021-04-01 03:15:14 +00:00
|
|
|
ARCH ?= arm64
|
|
|
|
CONFIG_IMX_SUPPORT=y
|
|
|
|
ifeq ($(CONFIG_IMX_SUPPORT),y)
|
|
|
|
ccflags-y += -DIMX_SUPPORT
|
2022-11-11 02:57:56 +00:00
|
|
|
ifneq ($(ANDROID_PRODUCT_OUT),)
|
|
|
|
ccflags-y += -DIMX_ANDROID
|
2023-01-31 03:02:59 +00:00
|
|
|
CONFIG_ANDROID_KERNEL=y
|
2022-11-11 02:57:56 +00:00
|
|
|
endif
|
2021-04-01 03:15:14 +00:00
|
|
|
endif
|
2021-10-09 02:29:40 +00:00
|
|
|
KERNELDIR ?= /usr/src/arm/linux_5_10_y_kernel/linux-nxp
|
|
|
|
CROSS_COMPILE ?= /opt/fsl-imx-internal-xwayland/5.10-gatesgarth/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-
|
2021-04-01 03:15:14 +00:00
|
|
|
|
2020-04-19 16:54:27 +00:00
|
|
|
LD += -S
|
|
|
|
|
2021-04-01 03:15:14 +00:00
|
|
|
BINDIR = ../bin_wlan
|
2020-04-19 16:54:27 +00:00
|
|
|
APPDIR= $(shell if test -d "mapp"; then echo mapp; fi)
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# Compiler Flags
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
ccflags-y += -I$(KERNELDIR)/include
|
|
|
|
|
|
|
|
ccflags-y += -DFPNUM='"92"'
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_DEBUG),1)
|
|
|
|
ccflags-y += -DDEBUG_LEVEL1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_DEBUG),2)
|
|
|
|
ccflags-y += -DDEBUG_LEVEL1
|
|
|
|
ccflags-y += -DDEBUG_LEVEL2
|
|
|
|
DBG= -dbg
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_64BIT), y)
|
|
|
|
ccflags-y += -DMLAN_64BIT
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_STA_SUPPORT),y)
|
|
|
|
ccflags-y += -DSTA_SUPPORT
|
|
|
|
ifeq ($(CONFIG_REASSOCIATION),y)
|
|
|
|
ccflags-y += -DREASSOCIATION
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
CONFIG_WIFI_DIRECT_SUPPORT=n
|
|
|
|
CONFIG_STA_WEXT=n
|
|
|
|
CONFIG_STA_CFG80211=n
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_UAP_SUPPORT),y)
|
|
|
|
ccflags-y += -DUAP_SUPPORT
|
|
|
|
else
|
|
|
|
CONFIG_WIFI_DIRECT_SUPPORT=n
|
|
|
|
CONFIG_UAP_WEXT=n
|
|
|
|
CONFIG_UAP_CFG80211=n
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_WIFI_DIRECT_SUPPORT),y)
|
|
|
|
ccflags-y += -DWIFI_DIRECT_SUPPORT
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_MFG_CMD_SUPPORT),y)
|
|
|
|
ccflags-y += -DMFG_CMD_SUPPORT
|
|
|
|
endif
|
|
|
|
|
2022-11-11 02:57:56 +00:00
|
|
|
ifeq ($(CONFIG_BIG_ENDIAN),y)
|
|
|
|
ccflags-y += -DBIG_ENDIAN_SUPPORT
|
|
|
|
endif
|
|
|
|
|
2020-04-19 16:54:27 +00:00
|
|
|
ifeq ($(CONFIG_USERSPACE_32BIT_OVER_KERNEL_64BIT),y)
|
|
|
|
ccflags-y += -DUSERSPACE_32BIT_OVER_KERNEL_64BIT
|
|
|
|
endif
|
|
|
|
|
|
|
|
#ifdef SDIO_MMC
|
|
|
|
ifeq ($(CONFIG_SDIO_SUSPEND_RESUME),y)
|
|
|
|
ccflags-y += -DSDIO_SUSPEND_RESUME
|
|
|
|
endif
|
|
|
|
#endif
|
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
ifeq ($(CONFIG_MULTI_CHAN_SUPPORT),y)
|
|
|
|
ccflags-y += -DMULTI_CHAN_SUPPORT
|
|
|
|
endif
|
2020-04-19 16:54:27 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_DFS_TESTING_SUPPORT),y)
|
|
|
|
ccflags-y += -DDFS_TESTING_SUPPORT
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_ANDROID_KERNEL), y)
|
|
|
|
ccflags-y += -DANDROID_KERNEL
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_OPENWRT_SUPPORT), y)
|
|
|
|
ccflags-y += -DOPENWRT
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_T50), y)
|
|
|
|
ccflags-y += -DT50
|
|
|
|
ccflags-y += -DT40
|
|
|
|
ccflags-y += -DT3T
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SD8887),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8887
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD8897),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8897
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD8977),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8977
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD8978),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8978
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD8997),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8997
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD8987),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8987
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD9097),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD9097
|
|
|
|
endif
|
2023-05-25 13:42:02 +00:00
|
|
|
ifeq ($(CONFIG_SDIW62X),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSDIW62X
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SDAW693),y)
|
2022-04-19 06:46:37 +00:00
|
|
|
CONFIG_SDIO=y
|
2023-05-25 13:42:02 +00:00
|
|
|
ccflags-y += -DSDAW693
|
2022-04-19 06:46:37 +00:00
|
|
|
endif
|
2021-05-06 11:10:31 +00:00
|
|
|
ifeq ($(CONFIG_SD9177),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD9177
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SD8801),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD8801
|
|
|
|
endif
|
2020-04-19 16:54:27 +00:00
|
|
|
ifeq ($(CONFIG_SD9098),y)
|
|
|
|
CONFIG_SDIO=y
|
|
|
|
ccflags-y += -DSD9098
|
|
|
|
endif
|
2021-05-06 11:10:31 +00:00
|
|
|
ifeq ($(CONFIG_USB8801),y)
|
|
|
|
CONFIG_MUSB=y
|
|
|
|
ccflags-y += -DUSB8801
|
|
|
|
endif
|
2020-04-19 16:54:27 +00:00
|
|
|
ifeq ($(CONFIG_USB8897),y)
|
|
|
|
CONFIG_MUSB=y
|
|
|
|
ccflags-y += -DUSB8897
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USB8997),y)
|
|
|
|
CONFIG_MUSB=y
|
|
|
|
ccflags-y += -DUSB8997
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USB8978),y)
|
|
|
|
CONFIG_MUSB=y
|
|
|
|
ccflags-y += -DUSB8978
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USB9097),y)
|
|
|
|
CONFIG_MUSB=y
|
|
|
|
ccflags-y += -DUSB9097
|
|
|
|
endif
|
2023-05-25 13:42:02 +00:00
|
|
|
ifeq ($(CONFIG_USBIW62X),y)
|
2022-04-19 06:46:37 +00:00
|
|
|
CONFIG_MUSB=y
|
2023-05-25 13:42:02 +00:00
|
|
|
ccflags-y += -DUSBIW62X
|
2022-04-19 06:46:37 +00:00
|
|
|
endif
|
2020-04-19 16:54:27 +00:00
|
|
|
ifeq ($(CONFIG_USB9098),y)
|
|
|
|
CONFIG_MUSB=y
|
|
|
|
ccflags-y += -DUSB9098
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE8897),y)
|
|
|
|
CONFIG_PCIE=y
|
|
|
|
ccflags-y += -DPCIE8897
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE8997),y)
|
|
|
|
CONFIG_PCIE=y
|
|
|
|
ccflags-y += -DPCIE8997
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE9097),y)
|
|
|
|
CONFIG_PCIE=y
|
|
|
|
ccflags-y += -DPCIE9097
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE9098),y)
|
|
|
|
CONFIG_PCIE=y
|
|
|
|
ccflags-y += -DPCIE9098
|
|
|
|
endif
|
2023-05-25 13:42:02 +00:00
|
|
|
ifeq ($(CONFIG_PCIEIW62X),y)
|
2022-04-19 06:46:37 +00:00
|
|
|
CONFIG_PCIE=y
|
2023-05-25 13:42:02 +00:00
|
|
|
ccflags-y += -DPCIEIW62X
|
2022-04-19 06:46:37 +00:00
|
|
|
endif
|
2023-05-25 13:42:02 +00:00
|
|
|
#ifdef PCIEAW693_OPT
|
|
|
|
ifeq ($(CONFIG_PCIEAW693),y)
|
|
|
|
CONFIG_PCIE=y
|
|
|
|
ccflags-y += -DPCIEAW693
|
|
|
|
endif
|
|
|
|
#endif
|
2020-04-19 16:54:27 +00:00
|
|
|
ifeq ($(CONFIG_SDIO),y)
|
|
|
|
ccflags-y += -DSDIO
|
|
|
|
ccflags-y += -DSDIO_MMC
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_MUSB),y)
|
|
|
|
ccflags-y += -DUSB
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE),y)
|
|
|
|
ccflags-y += -DPCIE
|
|
|
|
endif
|
|
|
|
|
2020-12-02 05:38:14 +00:00
|
|
|
ifeq ($(CONFIG_MAC80211_SUPPORT),y)
|
|
|
|
ccflags-y += -DMAC80211_SUPPORT
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_MAC80211_SUPPORT_UAP),y)
|
|
|
|
ccflags-y += -DMAC80211_SUPPORT_UAP
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_MAC80211_SUPPORT_MESH),y)
|
|
|
|
ccflags-y += -DMAC80211_SUPPORT_MESH
|
|
|
|
endif
|
2020-04-19 16:54:27 +00:00
|
|
|
|
|
|
|
# add -Wno-packed-bitfield-compat when GCC version greater than 4.4
|
|
|
|
GCC_VERSION := $(shell echo `gcc -dumpversion | cut -f1-2 -d.` \>= 4.4 | sed -e 's/\./*100+/g' | bc )
|
|
|
|
ifeq ($(GCC_VERSION),1)
|
|
|
|
ccflags-y += -Wno-packed-bitfield-compat
|
|
|
|
endif
|
2020-12-02 05:38:14 +00:00
|
|
|
WimpGCC_VERSION := $(shell echo `gcc -dumpversion | cut -f1 -d.`| bc )
|
|
|
|
ifeq ($(shell test $(WimpGCC_VERSION) -ge 7; echo $$?),0)
|
|
|
|
ccflags-y += -Wimplicit-fallthrough=3
|
|
|
|
endif
|
2021-04-01 03:15:14 +00:00
|
|
|
#ccflags-y += -Wunused-but-set-variable
|
|
|
|
#ccflags-y += -Wmissing-prototypes
|
|
|
|
#ccflags-y += -Wold-style-definition
|
|
|
|
#ccflags-y += -Wtype-limits
|
|
|
|
#ccflags-y += -Wsuggest-attribute=format
|
|
|
|
#ccflags-y += -Wmissing-include-dirs
|
|
|
|
#ccflags-y += -Wshadow
|
|
|
|
#ccflags-y += -Wsign-compare
|
2021-05-06 11:10:31 +00:00
|
|
|
#ccflags-y += -Wunused-macros
|
|
|
|
#ccflags-y += -Wmissing-field-initializers
|
|
|
|
#ccflags-y += -Wstringop-truncation
|
|
|
|
#ccflags-y += -Wmisleading-indentation
|
2021-07-18 09:43:16 +00:00
|
|
|
#ccflags-y += -Wunused-const-variable
|
2020-04-19 16:54:27 +00:00
|
|
|
#############################################################################
|
|
|
|
# Make Targets
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
ifneq ($(KERNELRELEASE),)
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_WIRELESS_EXT),y)
|
|
|
|
ifeq ($(CONFIG_WEXT_PRIV),y)
|
|
|
|
# Enable WEXT for STA
|
|
|
|
CONFIG_STA_WEXT=y
|
|
|
|
# Enable WEXT for uAP
|
|
|
|
CONFIG_UAP_WEXT=y
|
|
|
|
else
|
|
|
|
# Disable WEXT for STA
|
|
|
|
CONFIG_STA_WEXT=n
|
|
|
|
# Disable WEXT for uAP
|
|
|
|
CONFIG_UAP_WEXT=n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Enable CFG80211 for STA
|
|
|
|
ifeq ($(CONFIG_CFG80211),y)
|
|
|
|
CONFIG_STA_CFG80211=y
|
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_CFG80211),m)
|
|
|
|
CONFIG_STA_CFG80211=y
|
|
|
|
else
|
|
|
|
CONFIG_STA_CFG80211=n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# OpenWrt
|
|
|
|
ifeq ($(CONFIG_OPENWRT_SUPPORT), y)
|
|
|
|
ifeq ($(CPTCFG_CFG80211),y)
|
|
|
|
CONFIG_STA_CFG80211=y
|
|
|
|
else
|
|
|
|
ifeq ($(CPTCFG_CFG80211),m)
|
|
|
|
CONFIG_STA_CFG80211=y
|
|
|
|
else
|
|
|
|
CONFIG_STA_CFG80211=n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Enable CFG80211 for uAP
|
|
|
|
ifeq ($(CONFIG_CFG80211),y)
|
|
|
|
CONFIG_UAP_CFG80211=y
|
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_CFG80211),m)
|
|
|
|
CONFIG_UAP_CFG80211=y
|
|
|
|
else
|
|
|
|
CONFIG_UAP_CFG80211=n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# OpenWrt
|
|
|
|
ifeq ($(CONFIG_OPENWRT_SUPPORT), y)
|
|
|
|
ifeq ($(CPTCFG_CFG80211),y)
|
|
|
|
CONFIG_STA_CFG80211=y
|
|
|
|
else
|
|
|
|
ifeq ($(CPTCFG_CFG80211),m)
|
|
|
|
CONFIG_STA_CFG80211=y
|
|
|
|
else
|
|
|
|
CONFIG_STA_CFG80211=n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(CONFIG_STA_SUPPORT),y)
|
|
|
|
CONFIG_WIFI_DIRECT_SUPPORT=n
|
|
|
|
CONFIG_STA_WEXT=n
|
|
|
|
CONFIG_STA_CFG80211=n
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(CONFIG_UAP_SUPPORT),y)
|
|
|
|
CONFIG_WIFI_DIRECT_SUPPORT=n
|
|
|
|
CONFIG_UAP_WEXT=n
|
|
|
|
CONFIG_UAP_CFG80211=n
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_STA_SUPPORT),y)
|
|
|
|
ifeq ($(CONFIG_STA_WEXT),y)
|
|
|
|
ccflags-y += -DSTA_WEXT
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_STA_CFG80211),y)
|
|
|
|
ccflags-y += -DSTA_CFG80211
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_UAP_SUPPORT),y)
|
|
|
|
ifeq ($(CONFIG_UAP_WEXT),y)
|
|
|
|
ccflags-y += -DUAP_WEXT
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_UAP_CFG80211),y)
|
|
|
|
ccflags-y += -DUAP_CFG80211
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
print:
|
|
|
|
ifeq ($(CONFIG_STA_SUPPORT),y)
|
|
|
|
ifeq ($(CONFIG_STA_WEXT),n)
|
|
|
|
ifeq ($(CONFIG_STA_CFG80211),n)
|
|
|
|
@echo "Can not build STA without WEXT or CFG80211"
|
|
|
|
exit 2
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_UAP_SUPPORT),y)
|
|
|
|
ifeq ($(CONFIG_UAP_WEXT),n)
|
|
|
|
ifeq ($(CONFIG_UAP_CFG80211),n)
|
|
|
|
@echo "Can not build UAP without WEXT or CFG80211"
|
|
|
|
exit 2
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2020-12-05 11:42:54 +00:00
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#ifdef EMBEDDED_AUTH
|
|
|
|
ifeq ($(CONFIG_DRV_EMBEDDED_AUTHENTICATOR), y)
|
|
|
|
ccflags-y += -DDRV_EMBEDDED_AUTHENTICATOR
|
|
|
|
endif
|
|
|
|
#endif
|
2020-12-05 11:42:54 +00:00
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#ifdef EMBEDDED_SUPP
|
|
|
|
ifeq ($(CONFIG_DRV_EMBEDDED_SUPPLICANT), y)
|
|
|
|
ccflags-y += -DDRV_EMBEDDED_SUPPLICANT
|
|
|
|
endif
|
|
|
|
#endif
|
2020-12-05 11:42:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
MOALOBJS = mlinux/moal_main.o \
|
|
|
|
mlinux/moal_ioctl.o \
|
|
|
|
mlinux/moal_shim.o \
|
|
|
|
mlinux/moal_eth_ioctl.o \
|
|
|
|
mlinux/moal_init.o
|
|
|
|
|
|
|
|
MLANOBJS = mlan/mlan_shim.o mlan/mlan_init.o \
|
|
|
|
mlan/mlan_txrx.o \
|
|
|
|
mlan/mlan_cmdevt.o mlan/mlan_misc.o \
|
|
|
|
mlan/mlan_cfp.o \
|
|
|
|
mlan/mlan_module.o
|
|
|
|
|
|
|
|
MLANOBJS += mlan/mlan_wmm.o
|
|
|
|
ifeq ($(CONFIG_MUSB),y)
|
|
|
|
MLANOBJS += mlan/mlan_usb.o
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SDIO),y)
|
|
|
|
MLANOBJS += mlan/mlan_sdio.o
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE),y)
|
|
|
|
MLANOBJS += mlan/mlan_pcie.o
|
|
|
|
endif
|
|
|
|
MLANOBJS += mlan/mlan_11n_aggr.o
|
|
|
|
MLANOBJS += mlan/mlan_11n_rxreorder.o
|
|
|
|
MLANOBJS += mlan/mlan_11n.o
|
|
|
|
MLANOBJS += mlan/mlan_11ac.o
|
|
|
|
MLANOBJS += mlan/mlan_11ax.o
|
|
|
|
MLANOBJS += mlan/mlan_11d.o
|
|
|
|
MLANOBJS += mlan/mlan_11h.o
|
|
|
|
ifeq ($(CONFIG_STA_SUPPORT),y)
|
|
|
|
MLANOBJS += mlan/mlan_meas.o
|
|
|
|
MLANOBJS += mlan/mlan_scan.o \
|
|
|
|
mlan/mlan_sta_ioctl.o \
|
|
|
|
mlan/mlan_sta_rx.o \
|
|
|
|
mlan/mlan_sta_tx.o \
|
|
|
|
mlan/mlan_sta_event.o \
|
|
|
|
mlan/mlan_sta_cmd.o \
|
|
|
|
mlan/mlan_sta_cmdresp.o \
|
|
|
|
mlan/mlan_join.o
|
|
|
|
ifeq ($(CONFIG_STA_WEXT),y)
|
|
|
|
MOALOBJS += mlinux/moal_priv.o \
|
|
|
|
mlinux/moal_wext.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_UAP_SUPPORT),y)
|
|
|
|
MLANOBJS += mlan/mlan_uap_ioctl.o
|
|
|
|
MLANOBJS += mlan/mlan_uap_cmdevent.o
|
|
|
|
MLANOBJS += mlan/mlan_uap_txrx.o
|
|
|
|
MOALOBJS += mlinux/moal_uap.o
|
|
|
|
ifeq ($(CONFIG_UAP_WEXT),y)
|
|
|
|
MOALOBJS += mlinux/moal_uap_priv.o
|
|
|
|
MOALOBJS += mlinux/moal_uap_wext.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_STA_CFG80211),y)
|
|
|
|
MOALOBJS += mlinux/moal_cfg80211.o
|
|
|
|
MOALOBJS += mlinux/moal_cfg80211_util.o
|
|
|
|
MOALOBJS += mlinux/moal_sta_cfg80211.o
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_UAP_CFG80211),y)
|
|
|
|
MOALOBJS += mlinux/moal_cfg80211.o
|
|
|
|
MOALOBJS += mlinux/moal_cfg80211_util.o
|
|
|
|
MOALOBJS += mlinux/moal_uap_cfg80211.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_PROC_FS
|
|
|
|
MOALOBJS += mlinux/moal_proc.o
|
|
|
|
MOALOBJS += mlinux/moal_debug.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_MAC80211_SUPPORT),y)
|
|
|
|
MOALOBJS += mlinux/moal_mac80211.o
|
|
|
|
MLANOBJS += mlan/mlan_mac80211.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#if defined(EMBEDDED_SUPP) || defined(EMBEDDED_AUTH)
|
|
|
|
ifeq ($(CONFIG_EMBEDDED_SUPP_AUTH), y)
|
|
|
|
MLANOBJS += mlan/esa/common/crypto_api.o \
|
|
|
|
mlan/esa/common/aes_cmac_rom.o \
|
|
|
|
mlan/esa/common/crypt_new_rom.o \
|
|
|
|
mlan/esa/common/pmkCache.o \
|
|
|
|
mlan/esa/common/pmkCache_rom.o \
|
|
|
|
mlan/esa/common/parser.o \
|
|
|
|
mlan/esa/common/parser_rom.o \
|
|
|
|
mlan/esa/keyMgmtApStaCommon.o \
|
|
|
|
mlan/esa/hostsa_init.o \
|
|
|
|
mlan/esa/authenticator_api.o
|
|
|
|
endif
|
|
|
|
#endif
|
2020-12-05 11:42:54 +00:00
|
|
|
|
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#ifdef EMBEDDED_SUPP
|
|
|
|
ifeq ($(CONFIG_DRV_EMBEDDED_SUPPLICANT),y)
|
|
|
|
MLANOBJS += mlan/esa/keyMgmtSta.o \
|
|
|
|
mlan/esa/keyMgmtSta_rom.o \
|
|
|
|
mlan/esa/supplicant.o
|
|
|
|
endif
|
|
|
|
#endif
|
2020-12-05 11:42:54 +00:00
|
|
|
|
2022-12-20 07:45:49 +00:00
|
|
|
#ifdef EMBEDDED_AUTH
|
|
|
|
ifeq ($(CONFIG_DRV_EMBEDDED_AUTHENTICATOR),y)
|
|
|
|
MLANOBJS += mlan/esa/AssocAp_srv_rom.o \
|
|
|
|
mlan/esa/keyMgmtAp_rom.o \
|
|
|
|
mlan/esa/keyMgmtAp.o
|
|
|
|
endif
|
|
|
|
#endif
|
2020-12-05 11:42:54 +00:00
|
|
|
|
|
|
|
obj-m := mlan.o
|
|
|
|
mlan-objs := $(MLANOBJS)
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_MUSB),y)
|
|
|
|
MOALOBJS += mlinux/moal_usb.o
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SDIO),y)
|
|
|
|
MOALOBJS += mlinux/moal_sdio_mmc.o
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PCIE),y)
|
|
|
|
MOALOBJS += mlinux/moal_pcie.o
|
|
|
|
endif
|
|
|
|
obj-m += moal.o
|
|
|
|
moal-objs := $(MOALOBJS)
|
|
|
|
|
2020-04-19 16:54:27 +00:00
|
|
|
# Otherwise we were called directly from the command line; invoke the kernel build system.
|
|
|
|
else
|
|
|
|
|
|
|
|
default:
|
2020-12-05 11:42:54 +00:00
|
|
|
$(MAKE) -C $(KERNELDIR) M=$(PWD) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) modules
|
2020-04-19 16:54:27 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
###############################################################
|
|
|
|
|
|
|
|
export CC LD ccflags-y KERNELDIR
|
|
|
|
|
2022-05-27 06:35:54 +00:00
|
|
|
.PHONY: mapp/mlanutl clean distclean
|
2020-04-19 16:54:27 +00:00
|
|
|
@echo "Finished Making NXP Wlan Linux Driver"
|
|
|
|
|
|
|
|
mapp/mlanutl:
|
|
|
|
$(MAKE) -C $@
|
|
|
|
|
|
|
|
echo:
|
|
|
|
|
2022-04-19 06:46:37 +00:00
|
|
|
appsbuild:
|
|
|
|
|
|
|
|
@if [ ! -d $(BINDIR) ]; then \
|
|
|
|
mkdir $(BINDIR); \
|
|
|
|
fi
|
|
|
|
|
mxm_wifiex: fix mxm5x17391 release build error and warnings
Rename README_MLAN to README in Makefile, otherwise it will build break
becasue cannot find README_MLAN any more.
Also, fix the following build warnings on ARM32 and ARM64 platforms.
In file included from ./include/linux/kernel.h:29,
from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:37,
from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.h:26,
from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c:23:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c: In function ‘woal_cfg80211_subcmd_rtt_range_request’:
./include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
./include/linux/printk.h:429:25: note: in definition of macro ‘printk_index_wrap’
429 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3167:25: note: in expansion of macro ‘printk’
3167 | printk(KERN_ERR msg); \
| ^~~~~~
./include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3167:32: note: in expansion of macro ‘KERN_ERR’
3167 | printk(KERN_ERR msg); \
| ^~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3186:31: note: in expansion of macro ‘PRINTM_MERROR’
3186 | #define PRINTM(level, msg...) PRINTM_##level(level, msg)
| ^~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c:4351:17: note: in expansion of macro ‘PRINTM’
4351 | PRINTM(MERROR, "%s: invalid %d(total) != %d(num) * %lu(each)\n",
| ^~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_init.c: In function ‘parse_line_read_card_info’:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_init.c:556:37: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘p + 1’ must not be NULL [-Waddress]
556 | if ((p != NULL) && ((p + 1) != NULL)) {
| ^~
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-04-19 02:07:53 +00:00
|
|
|
cp -f README $(BINDIR)
|
2022-05-27 06:35:54 +00:00
|
|
|
|
2022-04-19 06:46:37 +00:00
|
|
|
ifneq ($(APPDIR),)
|
2022-10-10 03:14:56 +00:00
|
|
|
cp -rf mapp/mlanconfig/config $(BINDIR)
|
2022-04-19 06:46:37 +00:00
|
|
|
$(MAKE) -C mapp/mlanutl $@ INSTALLDIR=$(BINDIR)
|
|
|
|
endif
|
|
|
|
|
2020-04-19 16:54:27 +00:00
|
|
|
build: echo default
|
|
|
|
|
|
|
|
@if [ ! -d $(BINDIR) ]; then \
|
|
|
|
mkdir $(BINDIR); \
|
|
|
|
fi
|
|
|
|
|
2020-12-05 11:42:54 +00:00
|
|
|
cp -f mlan.$(MODEXT) $(BINDIR)/mlan$(DBG).$(MODEXT)
|
|
|
|
|
|
|
|
cp -f moal.$(MODEXT) $(BINDIR)/moal$(DBG).$(MODEXT)
|
2020-04-19 16:54:27 +00:00
|
|
|
cp -rpf script/load $(BINDIR)/
|
|
|
|
cp -rpf script/unload $(BINDIR)/
|
|
|
|
|
mxm_wifiex: fix mxm5x17391 release build error and warnings
Rename README_MLAN to README in Makefile, otherwise it will build break
becasue cannot find README_MLAN any more.
Also, fix the following build warnings on ARM32 and ARM64 platforms.
In file included from ./include/linux/kernel.h:29,
from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:37,
from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.h:26,
from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c:23:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c: In function ‘woal_cfg80211_subcmd_rtt_range_request’:
./include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
./include/linux/printk.h:429:25: note: in definition of macro ‘printk_index_wrap’
429 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3167:25: note: in expansion of macro ‘printk’
3167 | printk(KERN_ERR msg); \
| ^~~~~~
./include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3167:32: note: in expansion of macro ‘KERN_ERR’
3167 | printk(KERN_ERR msg); \
| ^~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3186:31: note: in expansion of macro ‘PRINTM_MERROR’
3186 | #define PRINTM(level, msg...) PRINTM_##level(level, msg)
| ^~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c:4351:17: note: in expansion of macro ‘PRINTM’
4351 | PRINTM(MERROR, "%s: invalid %d(total) != %d(num) * %lu(each)\n",
| ^~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_init.c: In function ‘parse_line_read_card_info’:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_init.c:556:37: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘p + 1’ must not be NULL [-Waddress]
556 | if ((p != NULL) && ((p + 1) != NULL)) {
| ^~
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-04-19 02:07:53 +00:00
|
|
|
cp -f README $(BINDIR)
|
2022-05-27 06:35:54 +00:00
|
|
|
|
2020-04-19 16:54:27 +00:00
|
|
|
ifneq ($(APPDIR),)
|
2022-10-10 03:14:56 +00:00
|
|
|
cp -rf mapp/mlanconfig/config $(BINDIR)
|
2020-04-19 16:54:27 +00:00
|
|
|
$(MAKE) -C mapp/mlanutl $@ INSTALLDIR=$(BINDIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-find . -name "*.o" -exec rm {} \;
|
|
|
|
-find . -name "*.ko" -exec rm {} \;
|
|
|
|
-find . -name ".*.cmd" -exec rm {} \;
|
|
|
|
-find . -name "*.mod.c" -exec rm {} \;
|
|
|
|
-find . -name "Module.symvers" -exec rm {} \;
|
|
|
|
-find . -name "Module.markers" -exec rm {} \;
|
|
|
|
-find . -name "modules.order" -exec rm {} \;
|
|
|
|
-find . -name ".*.dwo" -exec rm {} \;
|
|
|
|
-find . -name "*dwo" -exec rm {} \;
|
|
|
|
-rm -rf .tmp_versions
|
|
|
|
ifneq ($(APPDIR),)
|
|
|
|
$(MAKE) -C mapp/mlanutl $@
|
|
|
|
endif
|
|
|
|
#ifdef SDIO
|
|
|
|
#endif // SDIO
|
|
|
|
|
|
|
|
install: default
|
|
|
|
|
2020-12-05 11:42:54 +00:00
|
|
|
cp -f mlan.$(MODEXT) $(INSTALLDIR)/mlan$(DBG).$(MODEXT)
|
|
|
|
cp -f moal.$(MODEXT) $(INSTALLDIR)/moal$(DBG).$(MODEXT)
|
2020-04-19 16:54:27 +00:00
|
|
|
echo $(INSTALLDIR)
|
|
|
|
echo "MX Driver Installed"
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
-find . -name "*.o" -exec rm {} \;
|
|
|
|
-find . -name "*.orig" -exec rm {} \;
|
|
|
|
-find . -name "*.swp" -exec rm {} \;
|
|
|
|
-find . -name "*.*~" -exec rm {} \;
|
|
|
|
-find . -name "*~" -exec rm {} \;
|
|
|
|
-find . -name "*.d" -exec rm {} \;
|
|
|
|
-find . -name "*.a" -exec rm {} \;
|
|
|
|
-find . -name "tags" -exec rm {} \;
|
|
|
|
-find . -name ".*" -exec rm -rf 2> /dev/null \;
|
|
|
|
-find . -name "*.ko" -exec rm {} \;
|
|
|
|
-find . -name ".*.cmd" -exec rm {} \;
|
|
|
|
-find . -name "*.mod.c" -exec rm {} \;
|
|
|
|
-find . -name ".*.dwo" -exec rm {} \;
|
|
|
|
-find . -name "*dwo" -exec rm {} \;
|
|
|
|
-rm -rf .tmp_versions
|
|
|
|
ifneq ($(APPDIR),)
|
|
|
|
$(MAKE) -C mapp/mlanutl $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
# End of file
|