diff options
author | Dinar Valeev <dvaleev@suse.com> | 2016-03-29 14:36:37 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-03-31 17:40:51 +1100 |
commit | e42206bf0729782330778e77283af2aca23499dc (patch) | |
tree | a17e79b328aa948b82e3b9fa921765830531530a /external/gard | |
parent | 1860973eac8a488ca02865c1b585bf24355aa711 (diff) | |
download | talos-skiboot-e42206bf0729782330778e77283af2aca23499dc.tar.gz talos-skiboot-e42206bf0729782330778e77283af2aca23499dc.zip |
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/gard')
-rw-r--r-- | external/gard/Makefile | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/external/gard/Makefile b/external/gard/Makefile index be3d1ba8..b54923d2 100644 --- a/external/gard/Makefile +++ b/external/gard/Makefile @@ -3,22 +3,7 @@ include rules.mk GET_ARCH = ../../external/common/get_arch.sh include ../../external/common/rules.mk -all: $(EXE) - -.PHONY: links -links: libflash ccan common make_version.sh - -libflash: - ln -sf ../../libflash . - -ccan: - ln -sf ../../ccan . - -common: - ln -sf ../common . - -make_version.sh: - ln -sf ../../make_version.sh +all: links arch_links $(EXE) #Rebuild version.o so that the the version always matches #what the test suite will get from ./make_version.sh @@ -26,7 +11,7 @@ check: version.o all @ln -sf ../../test/test.sh test/test.sh @test/test-gard -$(OBJS): | links arch_links +links += make_version.sh .PHONY: VERSION-always .version: VERSION-always |