069686ab556cf63c5e174b74c8a7333d546fdca5
[openwrt/staging/wigyori.git] / package / firmware / layerscape / ls-rcw / patches / 0001-Remove-tclsh-checking.patch
1 From 786d501c32b9341d381b3371234213f92d948b66 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Fri, 13 Mar 2020 18:15:36 +0800
4 Subject: [PATCH] Remove tclsh checking
5
6 The tclsh is no longer needed for byte swapping.
7
8 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
9 ---
10 Makefile | 6 ------
11 1 file changed, 6 deletions(-)
12
13 diff --git a/Makefile b/Makefile
14 index 9183e19..2832ab2 100644
15 --- a/Makefile
16 +++ b/Makefile
17 @@ -12,15 +12,9 @@ BOARDS = b4420qds b4860qds \
18 t1024qds t1023rdb t1024rdb t1040rdb t1042rdb t1042rdb_pi t1040qds \
19 t2080rdb t2080qds t2081qds t4240qds t4240rdb t1040d4rdb t1042d4rdb
20
21 -TCLSH := $(shell command -v tclsh 2> /dev/null)
22 -
23 VER = $(shell git describe --tags)
24
25 all install clean:
26 -ifndef TCLSH
27 - $(error "tclsh is not available. please install it.")
28 - exit 1
29 -endif
30 @for board in $(BOARDS); do \
31 $(MAKE) -C $$board $@ DESTDIR=$(DESTDIR)/$$board; \
32 done
33 --
34 2.7.4
35