mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
copy initramfs kernel to bin directory
SVN-Revision: 33726
This commit is contained in:
parent
ba6751058b
commit
e7b2a4170c
@ -83,6 +83,10 @@ define Image/Build/EVA
|
|||||||
$(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin)
|
$(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(1).bin)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Image/Build/Initramfs
|
||||||
|
$(CP) $(KDIR)/vmlinux.bin $(BIN_DIR)/$(IMG_PREFIX)-initramfs.bin
|
||||||
|
endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
dd if=$(KDIR)/loader.bin $(call align/$(1)) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
|
dd if=$(KDIR)/loader.bin $(call align/$(1)) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
|
||||||
cat $(KDIR)/root.$(1) >> $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
|
cat $(KDIR)/root.$(1) >> $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
|
||||||
@ -106,6 +110,9 @@ define Image/Build
|
|||||||
# $(call Image/Build/sErCoMm,$(1),jdr454wb,$(1))
|
# $(call Image/Build/sErCoMm,$(1),jdr454wb,$(1))
|
||||||
$(call Image/Build/EVA,$(1),EVA)
|
$(call Image/Build/EVA,$(1),EVA)
|
||||||
$(call Image/Build/Titan,$(1),Titan,Titan,$(1))
|
$(call Image/Build/Titan,$(1),Titan,Titan,$(1))
|
||||||
|
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
|
$(call Image/Build/Initramfs)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
Loading…
Reference in New Issue
Block a user