aboutsummaryrefslogtreecommitdiff
path: root/external/pflash
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-06-23 15:39:17 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-06-23 15:39:17 +1000
commit114b3a23cfb21b18fb98888e1c97e7046efc2f8b (patch)
treea382eba08ce0aeb2a3e688d0ac5df415256aa8b3 /external/pflash
parentdf307e0eecf119a26be838428311199f23e43c69 (diff)
downloadskiboot-114b3a23cfb21b18fb98888e1c97e7046efc2f8b.zip
skiboot-114b3a23cfb21b18fb98888e1c97e7046efc2f8b.tar.gz
skiboot-114b3a23cfb21b18fb98888e1c97e7046efc2f8b.tar.bz2
Create targets for each symlink for making pflash
This way the make dependency resolution works correctly Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/pflash')
-rw-r--r--external/pflash/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/external/pflash/Makefile b/external/pflash/Makefile
index 179b6d4..44cbe7b 100644
--- a/external/pflash/Makefile
+++ b/external/pflash/Makefile
@@ -3,11 +3,21 @@ include rules.mk
all: $(EXE)
.PHONY: links
-links:
+links: libflash ccan sfc-ctrl.c ast-sf-ctrl.c make_version.sh
+
+libflash:
ln -sf ../../libflash .
+
+ccan:
ln -sf ../../ccan .
+
+sfc-ctrl.c:
ln -sf ../../hw/sfc-ctrl.c .
+
+ast-sf-ctrl.c:
ln -sf ../../hw/ast-bmc/ast-sf-ctrl.c
+
+make_version.sh:
ln -sf ../../make_version.sh
$(OBJS) : links