Commit e5fba421 authored by Vaibhav Gupta's avatar Vaibhav Gupta

software: Kernel: Makefile: Replace LINUX with KERNELSRC

Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 679b7d01
...@@ -50,7 +50,7 @@ all: modules ...@@ -50,7 +50,7 @@ all: modules
.PHONY: all modules clean help install modules_install coccicheck spec-core-fpga.h cppcheck .PHONY: all modules clean help install modules_install coccicheck spec-core-fpga.h cppcheck
help coccicheck: help coccicheck:
@$(MAKE) -C $(LINUX) M=$(shell pwd) $@ @$(MAKE) -C $(KERNELSRC) M=$(shell pwd) $@
headers: headers:
$(MAKE) -C $(HDR_DIR) $@ $(MAKE) -C $(HDR_DIR) $@
...@@ -68,14 +68,14 @@ modules: headers ...@@ -68,14 +68,14 @@ modules: headers
install: modules_install install: modules_install
modules_install: modules modules_install: modules
@$(MAKE) -C $(LINUX) M=$(shell pwd) \ @$(MAKE) -C $(KERNELSRC) M=$(shell pwd) \
INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) \ INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) \
INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) \ INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) \
$@ $@
clean: clean:
@rm -f spec-core-fpga.h @rm -f spec-core-fpga.h
@$(MAKE) -C $(LINUX) M=$(shell pwd) $@ @$(MAKE) -C $(KERNELSRC) M=$(shell pwd) $@
INCLUDE := -I./ INCLUDE := -I./
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment