bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 1 | TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall |
Michael Neuling | d17475d | 2015-09-25 14:01:39 +1000 | [diff] [blame] | 2 | |
| 3 | CFLAGS += -O2 |
| 4 | |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 5 | include ../../lib.mk |
Michael Neuling | d17475d | 2015-09-25 14:01:39 +1000 | [diff] [blame] | 6 | |
Michael Ellerman | 68bd42d9 | 2017-02-09 19:56:30 +1100 | [diff] [blame] | 7 | $(TEST_GEN_PROGS): ../harness.c |
| 8 | |
bamvor.zhangjian@huawei.com | a8ba798 | 2016-11-29 19:55:52 +0800 | [diff] [blame] | 9 | $(OUTPUT)/context_switch: ../utils.c |
| 10 | $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec |
| 11 | $(OUTPUT)/context_switch: LDLIBS += -lpthread |