Ruchi Kandoi | 84820c1 | 2016-04-27 13:59:41 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | ## sources have been created from Drystone-2.1.sh with below command: |
| 4 | # ./Drystone-2.1.sh |
| 5 | # sed -i 's/printf (" Ptr_Comp: %d\\n", (int) /printf (" Ptr_Comp: %p\\n", /g' dhry_1.c |
| 6 | # sed -i 's,^} /\* Proc_,return 0; } /\* Proc_,g' *.c |
| 7 | |
| 8 | include $(CLEAR_VARS) |
| 9 | LOCAL_MODULE := dhry |
| 10 | LOCAL_SRC_FILES := dhry_1.c dhry_2.c |
| 11 | LOCAL_CFLAGS := -O3 -fno-inline-functions -DMSC_CLOCK -DCLK_TCK=1000000 |
| 12 | LOCAL_CFLAGS += -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int |
| 13 | # Include both the 32 and 64 bit versions |
| 14 | LOCAL_MULTILIB := both |
| 15 | LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32 |
| 16 | LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64 |
nickrose | f1efbc6 | 2017-07-05 12:38:06 -0700 | [diff] [blame] | 17 | LOCAL_COMPATIBILITY_SUITE := cts vts general-tests |
Ruchi Kandoi | 84820c1 | 2016-04-27 13:59:41 -0700 | [diff] [blame] | 18 | include $(BUILD_EXECUTABLE) |