targets: prepare for supporting normal and initramfs images
[openwrt/staging/lynxis.git] / target / linux / au1000 / image / Makefile
index a2f2056d4fe8072f6fdf00614a3a1017b05cf9ec..1dfdd9843c56d8ecfb1b2787c6b965d5a8c0a65a 100644 (file)
@@ -51,7 +51,7 @@ define Image/Prepare
 endef
 
 define Image/Build/Initramfs
-       $(OBJCOPY_SREC) $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.srec
+       $(OBJCOPY_SREC) $(KDIR)/vmlinux-initramfs.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.srec
 endef
 
 define Image/Build