aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2011-01-24 18:02:18 +0100
committerChristophe Lyon <christophe.lyon@st.com>2011-01-24 18:02:18 +0100
commit2eeafa4af3fffbc655074e549236c118eea2548a (patch)
tree7216de787a4fd580274841b175e26df1dbe434f9 /Makefile
parent073831adf9442c019e8d34b18b0c04b1d780a19b (diff)
downloadplatform_external_arm-neon-tests-2eeafa4af3fffbc655074e549236c118eea2548a.tar.gz
platform_external_arm-neon-tests-2eeafa4af3fffbc655074e549236c118eea2548a.tar.bz2
platform_external_arm-neon-tests-2eeafa4af3fffbc655074e549236c118eea2548a.zip
Avoid rebuilding of compute_ref.axf if already present.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e27425a..c389e77 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,10 @@ $(REFRVCT): compute_ref.axf
$(REFRVCT).qemu: compute_ref.axf
qemu-system-arm -cpu cortex-a9 -semihosting -nographic -kernel $^
+# Avoid rebuilding compute_ref.axf if already present, for users who
+# don't have rvct
+.INTERMEDIATE: compute_ref.rvct.o retarget.rvct.o InitCache.o Init.o \
+ $(REFOBJS.rvct)
compute_ref.axf: scatter.scat compute_ref.rvct.o retarget.rvct.o \
InitCache.o Init.o $(REFOBJS.rvct)
@@ -76,7 +80,7 @@ compute_ref.axf: scatter.scat compute_ref.rvct.o retarget.rvct.o \
compute_ref.rvct.o retarget.rvct.o: %.rvct.o: %.c
$(CC.rvct) $(CFLAGS.rvct) -c $^ -o $@ -DREFFILE=\"$(REFRVCT)\"
-ref_%.rvct.o: ref_%.c stm-arm-neon-ref.h $(NEONINCLUDE)
+ref_%.rvct.o: ref_%.c stm-arm-neon-ref.h
$(CC.rvct) $(CFLAGS.rvct) -c $< -o $@
InitCache.o Init.o: %.o: %.s