Skip to content
Snippets Groups Projects
Commit 07d33891 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

build: copy all regular files from KERNEL_BUILD_DIR to BOARD_KDIR

Fixes build for brcm2708 targets
parent 170741bf
No related branches found
No related tags found
No related merge requests found
...@@ -282,10 +282,7 @@ packages: $(package/stamp-compile) ...@@ -282,10 +282,7 @@ packages: $(package/stamp-compile)
prepare-image: FORCE prepare-image: FORCE
rm -rf $(BOARD_KDIR) rm -rf $(BOARD_KDIR)
mkdir -p $(BOARD_KDIR) mkdir -p $(BOARD_KDIR)
$(foreach k, vmlinux vmlinux.elf \ -cp $(KERNEL_BUILD_DIR)/* $(BOARD_KDIR)/
$(if $(KERNEL_IMAGES),$(KERNEL_IMAGES),$(filter-out dtbs,$(KERNELNAME))), \
$(CP) $(KERNEL_BUILD_DIR)/$(k) $(BOARD_KDIR)/$(k); \
)
+$(SUBMAKE) -C $(TOPDIR)/target/linux/$(BOARD)/image image_prepare KDIR="$(BOARD_KDIR)" +$(SUBMAKE) -C $(TOPDIR)/target/linux/$(BOARD)/image image_prepare KDIR="$(BOARD_KDIR)"
prepare: FORCE prepare: FORCE
......
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