diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-09-11 17:54:55 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-09-11 17:54:55 +0000 |
commit | c9bebfb9ce20f892e23fab176b88dc009312c934 (patch) | |
tree | 192b163ac4b9928e38591ce57ea550fb9a0027f4 /target | |
parent | e1f0a7e841750fe8e47b4755fb5f849bcda2b50d (diff) | |
download | mtk-20170518-c9bebfb9ce20f892e23fab176b88dc009312c934.zip mtk-20170518-c9bebfb9ce20f892e23fab176b88dc009312c934.tar.gz mtk-20170518-c9bebfb9ce20f892e23fab176b88dc009312c934.tar.bz2 |
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 <hauke@hauke-m.de>
SVN-Revision: 46871
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm47xx/image/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index cf6aefc..0582859 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)) |