selftests: Set CC using CROSS_COMPILE once in lib.mk
This avoids repeating the logic in every Makefile. We mimic the top-level Makefile and use $(CROSS_COMPILE)gcc. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:

committed by
Shuah Khan

parent
6faeeea44b
commit
84f887bfb9
@@ -1,6 +1,5 @@
|
||||
# Makefile for net selftests
|
||||
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
CFLAGS = -Wall -O2 -g
|
||||
|
||||
CFLAGS += -I../../../../usr/include/
|
||||
|
Reference in New Issue
Block a user