You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1004 B
23 lines
1004 B
7 months ago
|
LOCAL_PATH:= $(call my-dir)
|
||
|
|
||
|
## sources have been created from Drystone-2.1.sh with below command:
|
||
|
# ./Drystone-2.1.sh
|
||
|
# sed -i 's/printf (" Ptr_Comp: %d\\n", (int) /printf (" Ptr_Comp: %p\\n", /g' dhry_1.c
|
||
|
# sed -i 's,^} /\* Proc_,return 0; } /\* Proc_,g' *.c
|
||
|
|
||
|
include $(CLEAR_VARS)
|
||
|
LOCAL_MODULE := dhry
|
||
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-NCSA
|
||
|
LOCAL_LICENSE_CONDITIONS := notice
|
||
|
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE.TXT
|
||
|
LOCAL_SRC_FILES := dhry_1.c dhry_2.c
|
||
|
LOCAL_CFLAGS := -O3 -fno-inline-functions -DMSC_CLOCK -DCLK_TCK=1000000
|
||
|
LOCAL_CFLAGS += -Wall -Werror -Wno-incompatible-library-redeclaration
|
||
|
LOCAL_CFLAGS += -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int
|
||
|
# Include both the 32 and 64 bit versions
|
||
|
LOCAL_MULTILIB := both
|
||
|
LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
|
||
|
LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
|
||
|
LOCAL_COMPATIBILITY_SUITE := cts general-tests
|
||
|
include $(BUILD_EXECUTABLE)
|