From ce4e7b4d5ddb213f45164015ef5479943fec2f8e Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 17 Feb 2022 01:41:28 +0100 Subject: Makefile, conf, passt: Drop passt4netns references, explicit argc check Nobody currently calls this as passt4netns, that was the name I used before 'pasta', drop any reference before it's too late. While at it, explicitly check that argc is bigger than or equal to one, just as a defensive measure: argv[0] being NULL is not an issue anyway. Signed-off-by: Stefano Brivio --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5085578..8477cf0 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ endif prefix ?= /usr/local -all: passt pasta passt4netns qrap +all: passt pasta qrap avx2: CFLAGS += -Ofast -mavx2 -ftree-vectorize -funroll-loops avx2: clean all @@ -81,16 +81,13 @@ pasta: passt ln -s passt pasta ln -s passt.1 pasta.1 -passt4netns: passt - ln -s passt passt4netns - qrap: qrap.c passt.h $(CC) $(CFLAGS) \ qrap.c -o qrap .PHONY: clean clean: - -${RM} passt *.o seccomp.h qrap pasta pasta.1 passt4netns \ + -${RM} passt *.o seccomp.h qrap pasta pasta.1 \ passt.tar passt.tar.gz *.deb *.rpm install: passt pasta qrap -- cgit v1.2.3