aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-06-21 19:37:48 -0400
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-27 16:19:11 +1000
commit5660d300fb23f299c4a306be4a213eb608158b6c (patch)
treee6fabf0bdf1a7864adb38aabd5c92dbeb40b7583 /external
parentc4d48a3a6ac7cab879d39f4af1ac60dec6f19e07 (diff)
downloadskiboot-5660d300fb23f299c4a306be4a213eb608158b6c.zip
skiboot-5660d300fb23f299c4a306be4a213eb608158b6c.tar.gz
skiboot-5660d300fb23f299c4a306be4a213eb608158b6c.tar.bz2
external: Fix ARM build failure with parallel make
Arch headers need to be linked in before compiling. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/common/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/common/rules.mk b/external/common/rules.mk
index 5558cd3..bb12fd5 100644
--- a/external/common/rules.mk
+++ b/external/common/rules.mk
@@ -67,7 +67,7 @@ arch_clean:
$(ARCH_SRC): | common
-$(ARCH_OBJS): common-%.o: common/%.c
+$(ARCH_OBJS): common-%.o: common/%.c $(ARCH_LINKS)
$(Q_CC)$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
common-arch_flash.o: $(ARCH_OBJS)