|
@@ -2,6 +2,10 @@
|
|
# Makefile can operate with or without the kbuild infrastructure.
|
|
# Makefile can operate with or without the kbuild infrastructure.
|
|
CC := $(CROSS_COMPILE)gcc
|
|
CC := $(CROSS_COMPILE)gcc
|
|
|
|
|
|
|
|
+ifeq (0,$(MAKELEVEL))
|
|
|
|
+OUTPUT := $(shell pwd)
|
|
|
|
+endif
|
|
|
|
+
|
|
TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS))
|
|
TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS))
|
|
TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES))
|
|
TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES))
|
|
|
|
|