From 55584fb6b9ad5b83b8b76825ea385bf5db4aef2b Mon Sep 17 00:00:00 2001 From: Adrian Herrera Date: Tue, 8 Dec 2020 17:45:00 +0000 Subject: [PATCH] util: term, remove install target Installing the term utility within the host filesystem is an unlikely scenario. Most times, the utility will be used in place or trivially copied to a local directory within the PATH. Furthermore, the install target hardcoded a privileged installation, which is a non-standard and insecure technique. Change-Id: I1592a304017c6b24a9421aa353229fb5a5baae43 Signed-off-by: Adrian Herrera Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38415 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- util/term/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/util/term/Makefile b/util/term/Makefile index 4aa1c52ee..ab4f749f2 100644 --- a/util/term/Makefile +++ b/util/term/Makefile @@ -31,9 +31,6 @@ default: m5term m5term: term.c $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) -install: m5term - $(SUDO) install -o root -m 555 m5term /usr/local/bin - clean: @rm -f m5term *~ .#* -- 2.30.2