Skip to content
Snippets Groups Projects
Commit d00451f4 authored by Andreas Werner's avatar Andreas Werner
Browse files

fix build on server

parent c8f89d3e
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,13 @@ obj-m += remoteproc-shm.o
#dtb-y += rproc-shm.dtb
KERNEL_SRC ?= $(SDKTARGETSYSROOT)/usr/src/kernel/
LDFLAGS ?= ""
TARGETS =
all: $(KERNEL_SRC)/scripts/basic/fixdep $(KERNEL_SRC)/scripts/mod/modpost
ifdef SDKTARGETSYSROOT
TARGETS += $(KERNEL_SRC)/scripts/basic/fixdep $(KERNEL_SRC)/scripts/mod/modpost
endif
all: $(TARGETS)
make -C $(KERNEL_SRC) M=$(PWD) modules
dtbs: $(dtb-y)
......@@ -20,6 +25,7 @@ install:
modules_install:
make -C $(KERNEL_SRC) M=$(PWD) modules_install
$(KERNEL_SRC)/scripts/basic/fixdep:
cd $(KERNEL_SRC)
make -C $(KERNEL_SRC) scripts/basic/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment