From 49bf91b60043865f11831225fac3725a73eb6f3d Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Wed, 6 Feb 2019 13:13:42 +0100 Subject: [PATCH] Makefile: Match board name with compatible string and install sysfs_attr helper There is an script that parses /proc/device-tree/compatible and if matches with the name of the board script runs the test suite. The Samsung Chromebook Plus reports the following compatibles: google,kevin-rev15 google,kevin-rev14 google,kevin-rev13 google,kevin-rev12 google,kevin-rev11 google,kevin-rev10 google,kevin-rev9 google,kevin-rev8 google,kevin-rev7 google,kevin-rev6 google,kevin google,gru rockchip,rk3399 Being google,kevin the more generict this patch renames the board test script to this name. The patch also adds the assert_sysfs_attr_present helper script to the Makefile install target because it is used by the google,kevin test suite. Fixes: 1c4202515231 ("Makefile: fixes board name for google,kevin") Fixes: c5d93c41f893 ("boards: Add Samsung Chromebook Plus test script") Signed-off-by: Enric Balletbo i Serra --- Makefile | 3 ++- boards/{google,rk3399-kevin => google,kevin} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename boards/{google,rk3399-kevin => google,kevin} (100%) diff --git a/Makefile b/Makefile index e378b90..a07878e 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ HELPERS := assert_device_present \ assert_driver_present \ assert_mmc_present \ assert_partition_found \ + assert_sysfs_attr_present \ bootrr \ ensure_lib_firmware \ rproc-start \ @@ -16,7 +17,7 @@ HELPERS := assert_device_present \ state_check BOARDS := arrow,apq8096-db820c \ - google,rk3399-kevin \ + google,kevin \ qcom,apq8016-sbc \ qcom,msm8998-mtp \ qcom,sdm845-mtp \ diff --git a/boards/google,rk3399-kevin b/boards/google,kevin similarity index 100% rename from boards/google,rk3399-kevin rename to boards/google,kevin