blob: 3fd68c6f07ed1e6fc982b2e165897a46f0df18e8 [file] [log] [blame]
Harish Ambati8adf8942023-02-16 16:19:00 +00001ROOT?=$(abspath ../../../)
2include $(ROOT)/Makefile.config
3SYS_PATH = $(CPKERN)
4DESTDIR = $(ROOT)/$(IMGDIR)/rootfs/lib/modules/extra/
5
6unexport CC CPP LD CFLAGS LDFLAGS AR RANLIB
7
8default: install
9
10all:
11 $(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) KERNEL_VERSION="5.4"
12
13install: all
14 $(MAKE) -C $(CPKERN) M=$(CURDIR) INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(ROOT)/$(IMGDIR)/rootfs ARCH=$(ARCH) KERNEL_VERSION="5.4" modules_install
15
16tags:
17 $(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) tags
18
19clean:
20 $(MAKE) -C $(CPKERN) M=$(CURDIR) clean