From ca2e195a7617dd95444f0e9dc812f5632abe83f3 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Thu, 16 Jan 2025 18:35:59 +0200 Subject: [PATCH] time-sync: Fix arguments order in linker command Also adds the resulting binary to .gitignore Change-Id: Ibe7e577873c231a5b950a7224eb1a4136a4cd987 --- .gitignore | 3 +++ utils/time-sync/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d3a564106f..d011071da2 100644 --- a/.gitignore +++ b/.gitignore @@ -310,3 +310,6 @@ __pycache__ /utils/regtools/regtool /utils/regtools/swiss_knife /utils/regtools/tester_v1 + +# /utils/time-sync/ +/utils/time-sync/time-sync diff --git a/utils/time-sync/Makefile b/utils/time-sync/Makefile index 14d4802fc4..46fbeeaf2b 100644 --- a/utils/time-sync/Makefile +++ b/utils/time-sync/Makefile @@ -11,7 +11,7 @@ clean: gcc ${CFLAGS} -c -o $@ $^ time-sync: ${OBJS} - gcc ${CFLAGS} -lsgutils2 -o $@ $^ + gcc ${CFLAGS} -o $@ $^ -lsgutils2 install: time-sync cp time-sync /usr/local/bin/