aboutsummaryrefslogtreecommitdiff
path: root/external/pflash
diff options
context:
space:
mode:
authorDinar Valeev <dvaleev@suse.com>2016-03-29 14:36:37 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-03-31 17:40:51 +1100
commite42206bf0729782330778e77283af2aca23499dc (patch)
treea17e79b328aa948b82e3b9fa921765830531530a /external/pflash
parent1860973eac8a488ca02865c1b585bf24355aa711 (diff)
downloadskiboot-e42206bf0729782330778e77283af2aca23499dc.zip
skiboot-e42206bf0729782330778e77283af2aca23499dc.tar.gz
skiboot-e42206bf0729782330778e77283af2aca23499dc.tar.bz2
Make links target reusable
Move symlinking target to external/common/rules.mk, so the rule could be reused by gard and opal-prd. Signed-off-by: Dinar Valeev <dvaleev@suse.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/pflash')
-rw-r--r--external/pflash/Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/external/pflash/Makefile b/external/pflash/Makefile
index 9d7c183..bc371a3 100644
--- a/external/pflash/Makefile
+++ b/external/pflash/Makefile
@@ -1,30 +1,8 @@
-# Use make V=1 for a verbose build.
-ifndef V
- Q_CC= @echo ' CC ' $@;
- Q_LD= @echo ' LD ' $@;
- Q_LN= @echo ' LN ' $@;
- Q_MKDIR=@echo ' MKDIR ' $@;
-endif
-
include rules.mk
GET_ARCH = ../../external/common/get_arch.sh
include ../../external/common/rules.mk
-all: $(EXE)
-
-.PHONY: links
-links: libflash ccan common
-
-libflash:
- $(Q_LN)ln -sf ../../libflash .
-
-ccan:
- $(Q_LN)ln -sf ../../ccan .
-
-common:
- $(Q_LN)ln -sf ../common .
-
-$(OBJS): | links arch_links
+all: links arch_links $(EXE)
.PHONY: VERSION-always
.version: VERSION-always