layerscape: define only one package for ls-rcw
[openwrt/staging/mkresin.git] / package / firmware / layerscape / ls-rcw / patches / 0001-Disable-byte-swapping.patch
1 From ef78dc0683a7f5ae80b27878a8a2f91d504e3290 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Wed, 19 Jun 2019 10:50:29 +0800
4 Subject: [PATCH 1/2] Disable byte swapping
5
6 Because TF-A had already handled rcw byte swapping, the
7 byte swapping in rcw could be dropped.
8
9 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
10 ---
11 Makefile | 4 ----
12 Makefile.inc | 1 -
13 2 files changed, 5 deletions(-)
14
15 diff --git a/Makefile b/Makefile
16 index f697241..837b69e 100644
17 --- a/Makefile
18 +++ b/Makefile
19 @@ -14,10 +14,6 @@ TCLSH := $(shell command -v tclsh 2> /dev/null)
20 VER = $(shell git describe --tags)
21
22 all install clean:
23 -ifndef TCLSH
24 - $(error "tclsh is not available. please install it.")
25 - exit 1
26 -endif
27 @for board in $(BOARDS); do \
28 $(MAKE) -C $$board $@ DESTDIR=$(DESTDIR)/$$board; \
29 done
30 diff --git a/Makefile.inc b/Makefile.inc
31 index 87639bc..7d9a3d3 100644
32 --- a/Makefile.inc
33 +++ b/Makefile.inc
34 @@ -17,7 +17,6 @@ targets = $(txt_sources:.txt=.bin) $(rcw_sources:.rcw=.bin) $(swap_sources)
35 $(RCW) -i $< -o $@
36
37 all: $(targets)
38 - $(QSPI_SWAP_SCRIPT) $(QSPI_SWAP_LIST)
39
40 install: $(targets)
41 $(INSTALL) -d $(DESTDIR)
42 --
43 2.7.4
44