We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102caaf commit 382b02aCopy full SHA for 382b02a
kernel/ko_src/Makefile
@@ -2,8 +2,10 @@ CURRENT_PATH := $(shell pwd)
2
DIRS := $(shell find $(CURRENT_PATH) -maxdepth 1 -type d)
3
BASE_DIRS := $(basename $(patsubst $(CURRENT_PATH)/%, %, $(DIRS)))
4
BASE_DIRS := $(filter-out $(CURRENT_PATH), $(BASE_DIRS))
5
+CONFIG_FILE := ../../config/kmesh_marcos_def.h
6
+ENHANCED_KERNEL := $(shell grep -q "#define ENHANCED_KERNEL 1" $(CONFIG_FILE) && echo yes || echo no)
7
-ifeq ($(ENHANCED_KERNEL), enhanced)
8
+ifeq ($(ENHANCED_KERNEL), yes)
9
all:
10
@for dir in ${BASE_DIRS}; do \
11
make -C $(CURRENT_PATH)/$$dir; \
0 commit comments