util: term, remove install target
authorAdrian Herrera <adrian.herrera@arm.com>
Tue, 8 Dec 2020 17:45:00 +0000 (17:45 +0000)
committerAdrian Herrera <adrian.herrera@arm.com>
Wed, 9 Dec 2020 12:05:58 +0000 (12:05 +0000)
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 <adrian.herrera@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38415
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/term/Makefile

index 4aa1c52ee33052d60e133c3ca1c20f6e81c43e54..ab4f749f2229ed2dc66aa8f2c68e474d0c6cb7ca 100644 (file)
@@ -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 *~ .#*