aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-08-11 15:52:17 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-11-26 08:11:36 +0000
commitd5d30aa5edaaf24d0a6aeea03552013ab9b2c8f1 (patch)
treec46246e4a1fa1559762779610b7a0b9f23e270a9
parent8eda063927890af160fe343b0a16bb52b1f8510b (diff)
Remove build directory nesting
This patch also removes unnecessary directory creation. Command: 'go build -o "${BINARIES}"' creates required file tree on its own. Issue-ID: SECCOM-261 Change-Id: I6b492a2d5f61ce6e139bfe718256357c9d343a6b Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com> (cherry picked from commit 8e134bf7afafbaa99b11e98da809c495f32bf7d4)
-rw-r--r--test/security/sslendpoints/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/security/sslendpoints/Makefile b/test/security/sslendpoints/Makefile
index a213e1a09..e853dc4dd 100644
--- a/test/security/sslendpoints/Makefile
+++ b/test/security/sslendpoints/Makefile
@@ -8,9 +8,8 @@ BINARIES := $(addprefix ${BUILD_DIR}/, ${BINARIES})
all: docker-build
.PHONY: build
-build:
- mkdir -p "${BUILD_DIR}"
- go build -o "${BUILD_DIR}/${BINARIES}"
+build: ${BUILD_DIR}
+ go build -o "${BINARIES}"
.PHONY: clean
clean: clean-docker-build clean-build