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) | |
install: all | |
$(MAKE) -C $(CPKERN) M=$(CURDIR) INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(ROOT)/$(IMGDIR)/rootfs ARCH=$(ARCH) modules_install | |
tags: | |
$(MAKE) -C $(CPKERN) M=$(CURDIR) ARCH=$(ARCH) tags | |
clean: | |
$(MAKE) -C $(CPKERN) M=$(CURDIR) clean |