aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/layerscape/rcw/patches/0001-makefile-generate-byte_swap-rcw-for-ls1046ardb.patch
blob: 1eac881899ec10bcb80f55462ae622b1e73a8a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 6836519a638a0c30ef3d2137c248a1a9f1befbc4 Mon Sep 17 00:00:00 2001
From: Yangbo Lu <yangbo.lu@nxp.com>
Date: Tue, 4 Jul 2017 20:25:40 +0800
Subject: [PATCH] makefile: generate byte_swap rcw for ls1046ardb

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index fb55c8b..ab1b573 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,8 @@ all install clean:
 	@for board in $(BOARDS); do \
 		$(MAKE) -C $$board $@ DESTDIR=$(DESTDIR)/$$board; \
 	done
+	tclsh ./tools/byte_swap.tcl ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin  \
+		ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot_swap.bin 8
 
 release: $(foreach board,$(BOARDS),rcw-$(board)-$(VER).tar.gz)
 
-- 
2.7.4