mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-20 09:01:44 +00:00
bd8827d169
The sdk release is from NXP offial web: https://www.nxp.com/products/wireless/wi-fi-plus-bluetooth/ 88w8997-wi-fi-dual-band-with-bluetooth-5-for-a-v-streaming-and-digital-tv:88W8997?tab=Design_Tools_Tab The release file is: PCIE-WLAN-UART-BT-8997-U16-X86-W16.68.10.p16-16.26.10.p16-C4X16640_V4-MGPL The sdk version is: W16.68.10.p16 Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
48 lines
1.1 KiB
Makefile
Executable file
48 lines
1.1 KiB
Makefile
Executable file
#
|
|
# File : mlan2040coex/Makefile
|
|
#
|
|
# Copyright (C) 2009-2019, Marvell International Ltd. All Rights Reserved
|
|
|
|
# Path to the top directory of the mlandriver distribution
|
|
PATH_TO_TOP = ../..
|
|
|
|
# Determine how we should copy things to the install directory
|
|
ABSPATH := $(filter /%, $(INSTALLDIR))
|
|
RELPATH := $(filter-out /%, $(INSTALLDIR))
|
|
INSTALLPATH := $(ABSPATH)
|
|
ifeq ($(strip $(INSTALLPATH)),)
|
|
INSTALLPATH := $(PATH_TO_TOP)/$(RELPATH)
|
|
endif
|
|
|
|
# Override CFLAGS for application sources, remove __ kernel namespace defines
|
|
CFLAGS := $(filter-out -D__%, $(ccflags-y))
|
|
# remove KERNEL include dir
|
|
CFLAGS := $(filter-out -I$(KERNELDIR)%, $(CFLAGS))
|
|
|
|
#
|
|
# List of application executables to create
|
|
#
|
|
libobjs:= mlan2040coex.o mlan2040misc.o
|
|
exectarget=mlan2040coex
|
|
TARGETS := $(exectarget)
|
|
|
|
#
|
|
# Make target rules
|
|
#
|
|
|
|
# All rule compiles list of TARGETS using builtin program target from src rule
|
|
all :
|
|
$(exectarget): $(libobjs)
|
|
$(CC) $(CFLAGS) $(libobjs) -o $(exectarget)
|
|
|
|
# Update any needed TARGETS and then copy to the install path
|
|
build install: $(TARGETS)
|
|
@cp -f $(exectarget) $(INSTALLPATH)
|
|
|
|
clean:
|
|
@rm -f $(exectarget)
|
|
@rm -f *.o
|
|
|
|
distclean: clean
|
|
@rm -f *~ core
|
|
@rm -f tags
|