blob: 9c272b2ddf6271dda60fece4671adbcaa534ee95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# detect if make supports --eval
_EVAL := $(shell make --eval "test:" -f /dev/null test >/dev/null 2>&1 && echo YES || echo NO)
ifeq ($(_EVAL),YES)
MAKE=$(BACKPORT_DIR)/scripts/make
else
-include .config
endif
export
.PHONY: modules
modules:
@$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_DIR) modules
.PHONY: clean
clean:
@$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_DIR) clean
|