mxm_wifiex: Makefile: fix Yocto build error when build mapp before

kernel

When build mapp before the kernel build, Yocto will meet below build
error, since we don't need to build kernel modules in this repo for
L5.4.70, so delete the default modules build here:

Makefile:412: recipe for target 'default' failed
make: *** [default] Error 2

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: yang.tian <yang.tian@nxp.com>
This commit is contained in:
Sherry Sun 2021-03-02 14:36:03 +08:00
parent 78b86e78be
commit 72fdfec440

View file

@ -405,12 +405,6 @@ endif
endif
endif
# Otherwise we were called directly from the command line; invoke the kernel build system.
else
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
endif
###############################################################
@ -451,7 +445,7 @@ mapp/mlanevent:
echo:
build: echo default
build:
@if [ ! -d $(BINDIR) ]; then \
mkdir $(BINDIR); \