mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:02:29 +02:00
[rdc] also copy bzImage when generating initramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15650 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
25740fa285
commit
c122152a71
@ -7,14 +7,8 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/image.mk
|
include $(INCLUDE_DIR)/image.mk
|
||||||
|
|
||||||
ifeq ($(CONFIG_LINUX_2_6_23),y)
|
|
||||||
ARCH_PATH=i386
|
|
||||||
else
|
|
||||||
ARCH_PATH=x86
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Image/Prepare
|
define Image/Prepare
|
||||||
$(CP) $(LINUX_DIR)/arch/$(ARCH_PATH)/boot/bzImage $(KDIR)/bzImage
|
$(CP) $(LINUX_DIR)/arch/x86/boot/bzImage $(KDIR)/bzImage
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define trxalign/jffs2-128k
|
define trxalign/jffs2-128k
|
||||||
@ -74,9 +68,16 @@ define Image/Build/amit
|
|||||||
$(STAGING_DIR_HOST)/bin/makeamitbin -o $(BIN_DIR)/openwrt-$(BOARD)-$(1)-ar360w3g.bin -1 ALK_ATG001 -2 Atropos linux3g $(KDIR)/bzImage ramdisk3g $(KDIR)/root.$(1)
|
$(STAGING_DIR_HOST)/bin/makeamitbin -o $(BIN_DIR)/openwrt-$(BOARD)-$(1)-ar360w3g.bin -1 ALK_ATG001 -2 Atropos linux3g $(KDIR)/bzImage ramdisk3g $(KDIR)/root.$(1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Image/Build/Initramfs
|
||||||
|
$(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD)-ramfs.bzImage
|
||||||
|
endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
$(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD).bzImage
|
$(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD).bzImage
|
||||||
$(call Image/Build/$(PROFILE),$(1),$(PROFILE),$(patsubst jffs2-%k,%,$(1)))
|
$(call Image/Build/$(PROFILE),$(1),$(PROFILE),$(patsubst jffs2-%k,%,$(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