forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
We don't use the dist-* targets and hence DIST_DIR isn't used. The current code
creates a new temp directory in /tmp/ for every invocation of make. Lets
not do that.
 
Upstream-Status: Pending [a revised version would be needed for upstream]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
 
Index: glew-2.2.0/Makefile
===================================================================
--- glew-2.2.0.orig/Makefile
+++ glew-2.2.0/Makefile
@@ -56,7 +56,6 @@ DIST_SRC_ZIP ?= $(shell pwd)/$(DIST_NAME
 DIST_SRC_TGZ ?= $(shell pwd)/$(DIST_NAME).tgz
 DIST_WIN32   ?= $(shell pwd)/$(DIST_NAME)-win32.zip
 
-DIST_DIR := $(shell mktemp -d /tmp/glew.XXXXXX)/$(DIST_NAME)
 
 # To disable stripping of linked binaries either:
 #   - use STRIP= on gmake command-line