mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-27 17:12:46 +00:00
lantiq: remove orphaned tp-link image build steps
Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49239
This commit is contained in:
parent
2ef2a6aaf6
commit
6ade87df0a
@ -51,11 +51,6 @@ define MkImageLzma
|
||||
-d $(KDIR)/vmlinux$(2)-$(1).lzma $(KDIR)/uImage-$(1)$(2)
|
||||
endef
|
||||
|
||||
define TPLinkImageLzma
|
||||
mktplinkfw2 -c -B $(2) -s \
|
||||
-k $(KDIR)/vmlinux$(3)-$(1).lzma -o $(KDIR)/uImage-$(1)$(3)
|
||||
endef
|
||||
|
||||
define MkImageEVA
|
||||
lzma2eva 0x80002000 0x80002000 $(KDIR)/vmlinux$(2)-$(1).lzma $(KDIR)/$(1)$(2).eva.prealign
|
||||
dd if=$(KDIR)/$(1)$(2).eva.prealign of=$(KDIR)/$(1)$(2).eva.align.64k bs=64k conv=sync
|
||||
@ -115,12 +110,6 @@ define Image/BuildDGN3500B/squashfs
|
||||
endef
|
||||
|
||||
|
||||
define Image/BuildTPLink/squashfs
|
||||
mktplinkfw2 -B $(3) -s -a 0x4 -j \
|
||||
-k $(KDIR)/vmlinux-$(2).lzma -r $(KDIR)/root.$(1) \
|
||||
-o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-sysupgrade.image
|
||||
endef
|
||||
|
||||
define Image/BuildEVA/squashfs
|
||||
cat $(KDIR)/$(2).eva.align.64k $(KDIR)/root.$(1) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image.eva
|
||||
$(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image.eva)
|
||||
@ -247,17 +236,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
||||
endif
|
||||
endef
|
||||
|
||||
define Image/BuildKernelTPLink/Template
|
||||
$(call PatchKernelLzma,$(1))
|
||||
$(call TPLinkImageLzma,$(1),$(2))
|
||||
$(CP) $(KDIR)/uImage-$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1)-uImage
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
||||
$(call PatchKernelLzma,$(1),-initramfs)
|
||||
$(call TPLinkImageLzma,$(1),$(2),-initramfs)
|
||||
$(CP) $(KDIR)/uImage-$(1)-initramfs $(BIN_DIR)/$(IMG_PREFIX)-$(1)-uImage-initramfs
|
||||
endif
|
||||
endef
|
||||
|
||||
define Image/BuildKernelEVA/Template
|
||||
$(call PatchKernelLzma,$(1))
|
||||
$(call MkImageEVA,$(1))
|
||||
|
Loading…
Reference in New Issue
Block a user