From c9bebfb9ce20f892e23fab176b88dc009312c934 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 11 Sep 2015 17:54:55 +0000 Subject: [PATCH] brcm47xx: break long lines in image Makefile This patch changes nothing on the behaviour, it just breaks long lines with bin/trx to make it easier to add additional parameters. Signed-off-by: Hauke Mehrtens SVN-Revision: 46871 --- target/linux/brcm47xx/image/Makefile | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index cf6aefc89b..05828596cd 100644 --- a/target/linux/brcm47xx/image/Makefile +++ b/target/linux/brcm47xx/image/Makefile @@ -98,8 +98,11 @@ endef define Image/Build/trxV2 $(call Image/Build/CyberTANHead,$(1),$(2),$(3),$(4),$(5),$(if $(6),$(6))) - $(STAGING_DIR_HOST)/bin/trx -2 -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(5).noheader.bin \ - -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma \ + $(STAGING_DIR_HOST)/bin/trx \ + -2 \ + -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(5).noheader.bin \ + -f $(KDIR)/loader.gz \ + -f $(KDIR)/vmlinux.lzma \ $(call trxalign/$(1),$(1),$(KDIR)/$(IMG_PREFIX)-$(2)-header.bin) $(call Image/Build/CyberTAN2,$(1),$(2),$(3),$(4),$(5),$(if $(6),$(6))) endef @@ -337,19 +340,27 @@ endif ################################################# define Image/Build/Initramfs - $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs.trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux-initramfs.lzma - $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs-noloader-nodictionary.trx -f $(KDIR)/vmlinux-initramfs-nodictionary.lzma + $(STAGING_DIR_HOST)/bin/trx \ + -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs.trx \ + -f $(KDIR)/loader.gz \ + -f $(KDIR)/vmlinux-initramfs.lzma + $(STAGING_DIR_HOST)/bin/trx \ + -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs-noloader-nodictionary.trx \ + -f $(KDIR)/vmlinux-initramfs-nodictionary.lzma endef # $(1): filesystem type. define Image/Build - $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx \ + $(STAGING_DIR_HOST)/bin/trx \ + -o $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx \ -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma \ $(call trxalign/$(1),$(1)) - $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-$(1)-noloader-nodictionary.trx \ + $(STAGING_DIR_HOST)/bin/trx \ + -o $(BIN_DIR)/$(IMG_PREFIX)-$(1)-noloader-nodictionary.trx \ -f $(KDIR)/vmlinux-nodictionary.lzma \ $(call trxalign/$(1),$(1)) - $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-$(1)-gz.trx \ + $(STAGING_DIR_HOST)/bin/trx \ + -o $(BIN_DIR)/$(IMG_PREFIX)-$(1)-gz.trx \ -f $(KDIR)/vmlinux.gz \ $(call trxalign/$(1),$(1)) $(call Image/Build/$(SUBTARGET)/$(1),$(1)) -- 2.25.1