1LOCAL_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 8include $(CLEAR_VARS) 9LOCAL_MODULE := dhry 10LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-NCSA 11LOCAL_LICENSE_CONDITIONS := notice 12LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE.TXT 13LOCAL_SRC_FILES := dhry_1.c dhry_2.c 14LOCAL_CFLAGS := -O3 -fno-inline-functions -DMSC_CLOCK -DCLK_TCK=1000000 15LOCAL_CFLAGS += -Wall -Werror -Wno-incompatible-library-redeclaration 16LOCAL_CFLAGS += -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int 17# Include both the 32 and 64 bit versions 18LOCAL_MULTILIB := both 19LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32 20LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64 21LOCAL_COMPATIBILITY_SUITE := cts general-tests 22include $(BUILD_EXECUTABLE) 23