1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-29 22:24:51 +00:00

Updated dhrystone to use the new resource resoultion mechanics.

This commit is contained in:
Sergei Trofimov
2017-03-21 16:00:40 +00:00
parent 15886ffa29
commit 84c1fc2bcf
7 changed files with 5 additions and 24 deletions

View File

@@ -13,11 +13,5 @@
# limitations under the License.
#
ndk-build
if [[ -f libs/armeabi/dhrystone ]]; then
echo "Dhrystone binary updated."
cp libs/armeabi/dhrystone ..
rm -rf libs
rm -rf obj
fi
dhrystone: dhrystone.c
$(CROSS_COMPILE)gcc -O3 -static dhrystone.c -o dhrystone

View File

@@ -1,11 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= dhrystone.c
LOCAL_MODULE := dhrystone
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES := libc
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_LDLIBS := -llog
LOCAL_CFLAGS := -O2
include $(BUILD_EXECUTABLE)