From 6f4beaa52c33737f8ffd9047af2d9fe2fb168a1e Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 16 Dec 2016 19:39:07 +0100 Subject: Don't add LIBSOURCES to SOURCES. Split source files for library and stand-alone binary and use library as dependency when building the stand-alone binary. This avoids dependencies getting added multiple times. Remove outdated RBARCH handling, we always create fat binaries on OS X these days. Change-Id: Ia15a731296edcbe90869a1bf66dda2c3d6c7e317 --- rbutil/mkamsboot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rbutil/mkamsboot/Makefile') diff --git a/rbutil/mkamsboot/Makefile b/rbutil/mkamsboot/Makefile index 67fe91e51d..7100bd9512 100644 --- a/rbutil/mkamsboot/Makefile +++ b/rbutil/mkamsboot/Makefile @@ -9,11 +9,11 @@ CFLAGS += -I../../tools/ucl/include -Wall OUTPUT = mkamsboot -LIBUCL = libucl$(RBARCH).a +LIBUCL = libucl.a # inputs LIBSOURCES := dualboot.c md5.c mkamsboot.c -SOURCES := $(LIBSOURCES) main.c +SOURCES := main.c # additional link dependencies for the standalone executable EXTRADEPS := $(LIBUCL) -- cgit v1.2.3