brcm47xx: image: make linksys-pattern-partition leave specific file
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 <rafal@milecki.pl>
This commit is contained in:
parent
c9fdb23345
commit
8bd2167236
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue