From 025f14a851ad91b4079ec5d3da801f50b8c12124 Mon Sep 17 00:00:00 2001 From: chewitt Date: Tue, 28 Apr 2020 14:02:28 +0000 Subject: [PATCH] samsung: add samsung compatible to dtname/dtfile/dtsoc --- packages/sysutils/busybox/scripts/dtfile | 2 +- packages/sysutils/busybox/scripts/dtname | 2 +- packages/sysutils/busybox/scripts/dtsoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sysutils/busybox/scripts/dtfile b/packages/sysutils/busybox/scripts/dtfile index 8fd21c64f8..9fa02445fb 100755 --- a/packages/sysutils/busybox/scripts/dtfile +++ b/packages/sysutils/busybox/scripts/dtfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) -COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -n -e 's/.*\(allwinner\|amlogic\|rockchip\).*/\1/p') +COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -n -e 's/.*\(allwinner\|amlogic\|rockchip\|samsung\).*/\1/p') if [ -n "$COMPATIBLE" ]; then if [ -e /flash/extlinux/extlinux.conf ]; then diff --git a/packages/sysutils/busybox/scripts/dtname b/packages/sysutils/busybox/scripts/dtname index 55161cd498..6a7366adda 100755 --- a/packages/sysutils/busybox/scripts/dtname +++ b/packages/sysutils/busybox/scripts/dtname @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) -COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -n -e 's/.*\(allwinner\|amlogic\|rockchip\).*/\1/p') +COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -n -e 's/.*\(allwinner\|amlogic\|rockchip\|samsung\).*/\1/p') if [ -n "$COMPATIBLE" ]; then DTNAME=$(cat /proc/device-tree/compatible | cut -f1,2 -d',' | head -n 1) diff --git a/packages/sysutils/busybox/scripts/dtsoc b/packages/sysutils/busybox/scripts/dtsoc index f853e10158..0900885a20 100755 --- a/packages/sysutils/busybox/scripts/dtsoc +++ b/packages/sysutils/busybox/scripts/dtsoc @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) -COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -n -e 's/.*\(allwinner\|amlogic\|rockchip\).*/\1/p') +COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -n -e 's/.*\(allwinner\|amlogic\|rockchip\|samsung\).*/\1/p') if [ -n "$COMPATIBLE" ]; then DTNAME=$(cat /proc/device-tree/compatible | cut -f1,2 -d',' | tail -n 1)