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 <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>
This commit is contained in:
@@ -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 *~ .#*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user