Browse Source

build: copy all regular files from KERNEL_BUILD_DIR to BOARD_KDIR

Fixes build for brcm2708 targets
Matthias Schiffer 9 years ago
parent
commit
07d338919c
1 changed files with 1 additions and 4 deletions
  1. 1 4
      Makefile

+ 1 - 4
Makefile

@@ -282,10 +282,7 @@ packages: $(package/stamp-compile)
 prepare-image: FORCE
 	rm -rf $(BOARD_KDIR)
 	mkdir -p $(BOARD_KDIR)
-	$(foreach k, vmlinux vmlinux.elf \
-		$(if $(KERNEL_IMAGES),$(KERNEL_IMAGES),$(filter-out dtbs,$(KERNELNAME))), \
-		$(CP) $(KERNEL_BUILD_DIR)/$(k) $(BOARD_KDIR)/$(k); \
-	)
+	-cp $(KERNEL_BUILD_DIR)/* $(BOARD_KDIR)/
 	+$(SUBMAKE) -C $(TOPDIR)/target/linux/$(BOARD)/image image_prepare KDIR="$(BOARD_KDIR)"
 
 prepare: FORCE