[make] add external/ to the module search list
external/ will be where 3rd party code lives in the tree.
This commit is contained in:
7
makefile
7
makefile
@@ -14,6 +14,13 @@ ifneq ($(findstring $(LKROOT),$(LKINC)), $(LKROOT))
|
|||||||
LKINC := $(LKROOT) $(LKINC)
|
LKINC := $(LKROOT) $(LKINC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add the external path to LKINC
|
||||||
|
ifneq ($(LKROOT),.)
|
||||||
|
LKINC += $(LKROOT)/external
|
||||||
|
else
|
||||||
|
LKINC += external
|
||||||
|
endif
|
||||||
|
|
||||||
export LKMAKEROOT
|
export LKMAKEROOT
|
||||||
export LKROOT
|
export LKROOT
|
||||||
export LKINC
|
export LKINC
|
||||||
|
|||||||
Reference in New Issue
Block a user