projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: rename initramfs u-boot images
[openwrt.git]
/
target
/
linux
/
ar71xx
/
image
/
Makefile
diff --git
a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index
d3baec6
..
cde709f
100644
(file)
--- a/
target/linux/ar71xx/image/Makefile
+++ b/
target/linux/ar71xx/image/Makefile
@@
-14,8
+14,10
@@
$(IMGNAME)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
endef
VMLINUX:=$(IMGNAME)-vmlinux
endef
VMLINUX:=$(IMGNAME)-vmlinux
+UIMAGE:=$(IMGNAME)-uImage
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
VMLINUX:=$(IMGNAME)-vmlinux-initramfs
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
VMLINUX:=$(IMGNAME)-vmlinux-initramfs
+ UIMAGE:=$(IMGNAME)-uImage-initramfs
endif
define CompressLzma
endif
define CompressLzma
@@
-53,8
+55,8
@@
define Image/BuildKernel
$(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma)
dd if=$(KDIR)/vmlinux.bin.lzma of=$(VMLINUX).lzma bs=65536 conv=sync
dd if=$(KDIR)/vmlinux.bin.gz of=$(VMLINUX).gz bs=65536 conv=sync
$(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma)
dd if=$(KDIR)/vmlinux.bin.lzma of=$(VMLINUX).lzma bs=65536 conv=sync
dd if=$(KDIR)/vmlinux.bin.gz of=$(VMLINUX).gz bs=65536 conv=sync
- $(call MkImageGzip,$(KDIR)/vmlinux.bin.gz,$(
IMGNAME)-uImage
-gzip.bin)
- $(call MkImageLzma,$(KDIR)/vmlinux.bin.lzma,$(
IMGNAME)-uImage
-lzma.bin)
+ $(call MkImageGzip,$(KDIR)/vmlinux.bin.gz,$(
UIMAGE)
-gzip.bin)
+ $(call MkImageLzma,$(KDIR)/vmlinux.bin.lzma,$(
UIMAGE)
-lzma.bin)
endef
define Image/Build/WRT400N
endef
define Image/Build/WRT400N
@@
-129,6
+131,10
@@
define Image/Build/WZRHPG300NH
dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \
) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
+ ( \
+ echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \
+ dd if=$(call imgname,$(1),$(2))-sysupgrade.bin; \
+ ) > $(call imgname,$(1),$(2))-tftp.bin; \
fi; fi
endef
fi; fi
endef
@@
-330,6
+336,10
@@
define Image/Build/Template/squashfs-only/squashfs
$(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
endef
$(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
endef
+define Image/Build/Template/4k/squashfs
+ $(call Image/Build/$(1),squashfs-4k,$(2),$(3),$(4),$(5),$(6),$(7))
+endef
+
define Image/Build/Template/64k/squashfs
$(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
endef
define Image/Build/Template/64k/squashfs
$(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7))
endef
@@
-428,7
+438,7
@@
define Image/Build/Profile/MZKW300NH
endef
define Image/Build/Profile/TLWR741NDV1
endef
define Image/Build/Profile/TLWR741NDV1
- $(call Image/Build/Template/
squashfs-only/$(1),TPLINK4
K,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1)
+ $(call Image/Build/Template/
4k/$(1),TPLIN
K,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1)
endef
define Image/Build/Profile/TLWR841NV15
endef
define Image/Build/Profile/TLWR841NV15
@@
-440,7
+450,7
@@
define Image/Build/Profile/TLWR841NDV3
endef
define Image/Build/Profile/TLWR841NDV5
endef
define Image/Build/Profile/TLWR841NDV5
- $(call Image/Build/Template/
squashfs-only/$(1),TPLINK4
K,tl-wr841nd-v5,board=TL-WR741ND,TL-WR841NDv5)
+ $(call Image/Build/Template/
4k/$(1),TPLIN
K,tl-wr841nd-v5,board=TL-WR741ND,TL-WR841NDv5)
endef
define Image/Build/Profile/TLWR941NDV2
endef
define Image/Build/Profile/TLWR941NDV2
This page took
0.025125 seconds
and
4
git commands to generate.