Permalink
Browse files

Makefile: also have "vmlinux-initramfs.elf" in build-result

The "initramfs.elf" is needed to go to OpenWrt from RouterOS on MikroTik.
  • Loading branch information...
SvenRoederer committed May 31, 2018
1 parent de76c65 commit 17295b3fffaaf5776761e3d2640cd4956a8fb178
Showing with 6 additions and 0 deletions.
  1. +6 −0 Makefile
@@ -149,6 +149,12 @@ firmwares: stamp-clean-firmwares .stamp-firmwares
for file in $(OPENWRT_DIR)/bin/targets/$(MAINTARGET)/$(SUBTARGET)/*{imagebuilder,sdk,toolchain}*.tar.xz; do \
if [ -e $$file ]; then mv $$file $(FW_TARGET_DIR)/ ; fi \
done
# copy initrd images (if existing)
# remove old versions
rm -f $(FW_TARGET_DIR)/*-vmlinux-initramfs.elf
for file in $(OPENWRT_DIR)/bin/targets/$(MAINTARGET)/$(SUBTARGET)/*-vmlinux-initramfs.elf; do \
if [ -e $$file ]; then mv $$file $(FW_TARGET_DIR)/ ; fi \
done
# copy packages
PACKAGES_DIR="$(FW_TARGET_DIR)/packages"; \
rm -rf $$PACKAGES_DIR; \

0 comments on commit 17295b3

Please sign in to comment.