summaryrefslogtreecommitdiff
path: root/powerpc/pmu/Makefile
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@hackbox.linaro.org>2014-10-02 10:16:33 +0100
committerMilosz Wasilewski <milosz.wasilewski@hackbox.linaro.org>2014-10-02 10:16:33 +0100
commit24689e01d37605141ce768d94a94f0be3421049d (patch)
treeb2ac61c7572a4bbb49aa5c871fe6f3fd68436db1 /powerpc/pmu/Makefile
parente14eb051ff73ab8692770762adf44045ba092398 (diff)
Diffstat (limited to 'powerpc/pmu/Makefile')
-rw-r--r--powerpc/pmu/Makefile27
1 files changed, 6 insertions, 21 deletions
diff --git a/powerpc/pmu/Makefile b/powerpc/pmu/Makefile
index c9f4263..7216f00 100644
--- a/powerpc/pmu/Makefile
+++ b/powerpc/pmu/Makefile
@@ -1,12 +1,10 @@
noarg:
$(MAKE) -C ../
-PROGS := count_instructions l3_bank_test per_event_excludes
-EXTRA_SOURCES := ../harness.c event.c lib.c
+PROGS := count_instructions
+EXTRA_SOURCES := ../harness.c event.c
-SUB_TARGETS = ebb
-
-all: $(PROGS) $(SUB_TARGETS)
+all: $(PROGS)
$(PROGS): $(EXTRA_SOURCES)
@@ -14,25 +12,12 @@ $(PROGS): $(EXTRA_SOURCES)
count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES)
$(CC) $(CFLAGS) -m64 -o $@ $^
-run_tests: all sub_run_tests
+run_tests: all
@-for PROG in $(PROGS); do \
./$$PROG; \
done;
-clean: sub_clean
+clean:
rm -f $(PROGS) loop.o
-$(SUB_TARGETS):
- $(MAKE) -k -C $@ all
-
-sub_run_tests: all
- @for TARGET in $(SUB_TARGETS); do \
- $(MAKE) -C $$TARGET run_tests; \
- done;
-
-sub_clean:
- @for TARGET in $(SUB_TARGETS); do \
- $(MAKE) -C $$TARGET clean; \
- done;
-
-.PHONY: all run_tests clean sub_run_tests sub_clean $(SUB_TARGETS)
+.PHONY: all run_tests clean