Skip to content

Commit

Permalink
adm8668: use a suffix for initramfs images
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31478 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
juhosg committed Apr 25, 2012
1 parent 0282877 commit c363d3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions target/linux/adm8668/image/Makefile
Expand Up @@ -7,6 +7,11 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk

VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs
endif

define Build/Clean
$(MAKE) -C lzma-loader clean
endef
Expand All @@ -26,4 +31,9 @@ define Image/Build
$(KDIR)/fs_mark $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
endef

define Image/BuildKernel
cp $(KDIR)/vmlinux.elf $(VMLINUX).elf
cp $(KDIR)/vmlinux $(VMLINUX).bin
endef

$(eval $(call BuildImage))

0 comments on commit c363d3b

Please sign in to comment.