diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2016-12-16 19:39:07 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2016-12-16 19:46:07 +0100 |
commit | 6f4beaa52c33737f8ffd9047af2d9fe2fb168a1e (patch) | |
tree | 78eae9901e5c08ccd21831ce54da3a985c086626 /rbutil/mkamsboot/Makefile | |
parent | efe3775145fc31ca5fc88f44fbd92264f0a489be (diff) | |
download | rockbox-6f4beaa52c33737f8ffd9047af2d9fe2fb168a1e.tar.gz rockbox-6f4beaa52c33737f8ffd9047af2d9fe2fb168a1e.zip |
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
Diffstat (limited to 'rbutil/mkamsboot/Makefile')
-rw-r--r-- | rbutil/mkamsboot/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
9 | CFLAGS += -I../../tools/ucl/include -Wall | 9 | CFLAGS += -I../../tools/ucl/include -Wall |
10 | 10 | ||
11 | OUTPUT = mkamsboot | 11 | OUTPUT = mkamsboot |
12 | LIBUCL = libucl$(RBARCH).a | 12 | LIBUCL = libucl.a |
13 | 13 | ||
14 | # inputs | 14 | # inputs |
15 | LIBSOURCES := dualboot.c md5.c mkamsboot.c | 15 | LIBSOURCES := dualboot.c md5.c mkamsboot.c |
16 | SOURCES := $(LIBSOURCES) main.c | 16 | SOURCES := main.c |
17 | # additional link dependencies for the standalone executable | 17 | # additional link dependencies for the standalone executable |
18 | EXTRADEPS := $(LIBUCL) | 18 | EXTRADEPS := $(LIBUCL) |
19 | 19 | ||