blob: 3fd68c6f07ed1e6fc982b2e165897a46f0df18e8 [file] [log] [blame]
ROOT?=$(abspath ../../../)
include $(ROOT)/Makefile.config
SYS_PATH = $(CPKERN)
DESTDIR = $(ROOT)/$(IMGDIR)/rootfs/lib/modules/extra/
unexport CC CPP LD CFLAGS LDFLAGS AR RANLIB
default: install
all:
$(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) KERNEL_VERSION="5.4"
install: all
$(MAKE) -C $(CPKERN) M=$(CURDIR) INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(ROOT)/$(IMGDIR)/rootfs ARCH=$(ARCH) KERNEL_VERSION="5.4" modules_install
tags:
$(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) tags
clean:
$(MAKE) -C $(CPKERN) M=$(CURDIR) clean