Harish Ambati | 8adf894 | 2023-02-16 16:19:00 +0000 | [diff] [blame] | 1 | ROOT?=$(abspath ../../../) |
| 2 | include $(ROOT)/Makefile.config |
| 3 | SYS_PATH = $(CPKERN) |
| 4 | DESTDIR = $(ROOT)/$(IMGDIR)/rootfs/lib/modules/extra/ |
| 5 | |
| 6 | unexport CC CPP LD CFLAGS LDFLAGS AR RANLIB |
| 7 | |
| 8 | default: install |
| 9 | |
| 10 | all: |
| 11 | $(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) KERNEL_VERSION="5.4" |
| 12 | |
| 13 | install: 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 | |
| 16 | tags: |
| 17 | $(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) tags |
| 18 | |
| 19 | clean: |
| 20 | $(MAKE) -C $(CPKERN) M=$(CURDIR) clean |