From 96f50d50ee56fab4259efb7e8a56e7c82683e90b Mon Sep 17 00:00:00 2001
From: Moritz Eckert <mo@mightym0.de>
Date: Tue, 3 Jul 2018 13:54:38 +0200
Subject: [PATCH] Update build stuff

---
 build/Makefile      | 3 ++-
 build/build-diet.sh | 5 ++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/Makefile b/build/Makefile
index 14bcccb..dd4c2b8 100755
--- a/build/Makefile
+++ b/build/Makefile
@@ -1,6 +1,7 @@
 .PHONY: all clean
 
-all: x86_64
+all:
+	@echo "ARCH not specified!"
 
 x86_64: x.c util.c
 	./build-diet.sh x86_64
diff --git a/build/build-diet.sh b/build/build-diet.sh
index 76c99e8..495c5d6 100755
--- a/build/build-diet.sh
+++ b/build/build-diet.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-set -v
-
 if [ $# -lt 1 ]; then
 	echo "Usage: $0 <ARCH> <CROSS>"
     exit 1
@@ -12,7 +10,7 @@ if [ ! -d ./dietlibc ]; then
 fi
 
 cd dietlibc
-make clean
+
 if [ $1 = "arm" ]; then
 	make ARCH="$1" CROSS=arm-linux-gnueabihf-
 elif [ $1 = "i386" ]; then
@@ -20,4 +18,5 @@ elif [ $1 = "i386" ]; then
 elif [ $1 = "x86_64" ]; then
     make ARCH="$1"
 fi
+
 cd ..
-- 
GitLab