From 8bd21672364e44cecebb8aef27041e6c607addaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Fri, 28 Oct 2016 16:39:08 +0200 Subject: [PATCH] brcm47xx: image: make linksys-pattern-partition leave specific file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Thanks to leaving .pattern file we can easily insert extra step between linksys-pattern-partition and trx-v2-with-loader, e.g. rootfs one. Signed-off-by: Rafał Miłecki --- target/linux/brcm47xx/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index 5d8e6ff7d5..84e70051a4 100644 --- a/target/linux/brcm47xx/image/Makefile +++ b/target/linux/brcm47xx/image/Makefile @@ -64,7 +64,7 @@ define Build/trx-v2-with-loader -o $@.new \ -f $(KDIR)/loader.gz \ -f $(KDIR)/vmlinux.lzma \ - $(call trxalign/$(FILESYSTEM),$(FILESYSTEM),$@) + $(call trxalign/$(FILESYSTEM),$(FILESYSTEM),$@.pattern) mv $@.new $@ endef @@ -99,7 +99,7 @@ define Build/linksys-bin endef define Build/linksys-pattern-partition - $(STAGING_DIR_HOST)/bin/addpattern -5 -p $(DEVICE_ID) -v v$(VERSION) $(if $(SERIAL),-s $(SERIAL)) -i /dev/null -o $@ + $(STAGING_DIR_HOST)/bin/addpattern -5 -p $(DEVICE_ID) -v v$(VERSION) $(if $(SERIAL),-s $(SERIAL)) -i /dev/null -o $@.pattern endef define Build/motorola-bin -- 2.25.1