linux/rb532: use kernel and initramfs tags on image generation
SVN-Revision: 26817
This commit is contained in:
parent
9736cfef66
commit
67339c1329
1 changed files with 6 additions and 4 deletions
|
@ -28,8 +28,13 @@ define Image/Prepare
|
||||||
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile
|
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux-kernel
|
||||||
|
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
|
VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs
|
||||||
|
endif
|
||||||
|
|
||||||
define Image/BuildKernel
|
define Image/BuildKernel
|
||||||
$(CP) $(KDIR)/loader.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux
|
$(CP) $(KDIR)/loader.elf $(VMLINUX)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/cmdline/jffs2-64k
|
define Image/cmdline/jffs2-64k
|
||||||
|
@ -64,9 +69,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
|
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
|
||||||
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile
|
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile
|
||||||
endef
|
endef
|
||||||
define Image/BuildKernel
|
|
||||||
$(CP) $(KDIR)/loader.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux
|
|
||||||
endef
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
|
Loading…
Reference in a new issue