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-07-18 12:04:25 +1000
commitf651e8eb56e2c17aeac58fd50c20f874d874169c (patch)
treed9d615258eb20cbeda8f10a556d6ca61ad1afb2f /external
parent13e9a66a7b39823a818d946c7e2d10cd5e648a95 (diff)
downloadskiboot-f651e8eb56e2c17aeac58fd50c20f874d874169c.zip
skiboot-f651e8eb56e2c17aeac58fd50c20f874d874169c.tar.gz
skiboot-f651e8eb56e2c17aeac58fd50c20f874d874169c.tar.bz2
Fixup pflash build for ast refactor
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)