mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
Makefile: use global toolchain --sysroot
use global toolchina $CC that may have --sysroot variable. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
This commit is contained in:
parent
a248256620
commit
82481e5f16
1 changed files with 4 additions and 0 deletions
|
@ -19,8 +19,12 @@
|
||||||
# this warranty disclaimer.
|
# this warranty disclaimer.
|
||||||
|
|
||||||
COMPATDIR=/lib/modules/$(KERNELVERSION_X86)/build/compat-wireless-3.2-rc1-1/include
|
COMPATDIR=/lib/modules/$(KERNELVERSION_X86)/build/compat-wireless-3.2-rc1-1/include
|
||||||
|
ifeq ($(CC),)
|
||||||
CC= $(CROSS_COMPILE)gcc -I$(COMPATDIR)
|
CC= $(CROSS_COMPILE)gcc -I$(COMPATDIR)
|
||||||
|
endif
|
||||||
|
ifeq ($(LD),)
|
||||||
LD= $(CROSS_COMPILE)ld
|
LD= $(CROSS_COMPILE)ld
|
||||||
|
endif
|
||||||
BACKUP= /root/backup
|
BACKUP= /root/backup
|
||||||
YMD= `date +%Y%m%d%H%M`
|
YMD= `date +%Y%m%d%H%M`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue