aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-07-17 05:20:05 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-10-31 16:49:21 +1100
commite0959fa0481578e30b02d310e16ef13021a9f42e (patch)
tree5b706bcfc230498bf4cadb2da1f510fcadce303a /external
parente9accca5570e1614634b0b01fafaf02f78e0a4db (diff)
downloadskiboot-e0959fa0481578e30b02d310e16ef13021a9f42e.zip
skiboot-e0959fa0481578e30b02d310e16ef13021a9f42e.tar.gz
skiboot-e0959fa0481578e30b02d310e16ef13021a9f42e.tar.bz2
Fixup pflash build for ast refactor
[ Upstream commit f651e8eb56e2c17aeac58fd50c20f874d874169c ] Fixes: 5b1bc2ffe791ae94361d86b2ae063ee543bf2df5 Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/common/rules.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/common/rules.mk b/external/common/rules.mk
index 8c5749b..af8958b 100644
--- a/external/common/rules.mk
+++ b/external/common/rules.mk
@@ -49,7 +49,7 @@ ARCH_OBJS := $(addprefix common-,$(ARCH_FILES:.c=.o))
# Arch links are like this so we can have dependencies work (so that we don't
# run the rule when the links exist), pretty build output (knowing the target
# name) and a list of the files so we can clean them up.
-ARCH_LINKS ?= common/ast-sf-ctrl.c common/ast.h common/io.h
+ARCH_LINKS ?= common/ast-sf-ctrl.c common/ast.h common/io.h common/lpc.h
arch_links: $(ARCH_LINKS)
common/ast.h : ../../include/ast.h | common
@@ -61,6 +61,9 @@ common/io.h : ../common/arch_flash_$(arch)_io.h | common
common/ast-sf-ctrl.c : ../../hw/ast-bmc/ast-sf-ctrl.c | common
$(Q_LN)ln -sf ../../hw/ast-bmc/ast-sf-ctrl.c common/ast-sf-ctrl.c
+common/lpc.h: ../../include/lpc.h | common
+ $(Q_LN)ln -sf ../../include/lpc.h common/lpc.h
+
.PHONY: arch_clean
arch_clean:
rm -rf $(ARCH_OBJS) $(ARCH_LINKS)