summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2021-08-03 08:54:37 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2021-08-03 08:54:37 +0900
commit4162b9889a12f334a89c9c7f1169d6791ae4dd76 (patch)
treedd6722732c80857e8c12ace083ed5e5367d3bf87
parent068792edf1fa635046520bf8b27a89cb03004448 (diff)
downloadmeta-4162b9889a12f334a89c9c7f1169d6791ae4dd76.tar.gz
meta-4162b9889a12f334a89c9c7f1169d6791ae4dd76.tar.bz2
meta-4162b9889a12f334a89c9c7f1169d6791ae4dd76.zip
To Distinguish correct board between rpi3 and rpi4, added iot-hal-backend-rpi4 pattern. Change-Id: I754d64f0f37805fbf780b7dd670fb9d5176b732a Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--ks/tizen-boot-arm64-rpi4.yaml2
-rw-r--r--ks/tizen-boot-armv7l-rpi4.yaml2
-rw-r--r--patterns/iot-hal-backend-rpi4.yaml5
-rw-r--r--scripts/iot-hal-backend.post5
4 files changed, 11 insertions, 3 deletions
diff --git a/ks/tizen-boot-arm64-rpi4.yaml b/ks/tizen-boot-arm64-rpi4.yaml
index d771b8b..42c0b40 100644
--- a/ks/tizen-boot-arm64-rpi4.yaml
+++ b/ks/tizen-boot-arm64-rpi4.yaml
@@ -9,7 +9,7 @@ FileName: tizen-boot-arm64-rpi4
Groups:
- IoT Boot RPi4
- IoT Hal Base
-- IoT Hal Backend RPI3
+- IoT Hal Backend RPI4
Repos:
- unified-standard
- base-standard
diff --git a/ks/tizen-boot-armv7l-rpi4.yaml b/ks/tizen-boot-armv7l-rpi4.yaml
index d4f759b..6ace942 100644
--- a/ks/tizen-boot-armv7l-rpi4.yaml
+++ b/ks/tizen-boot-armv7l-rpi4.yaml
@@ -9,7 +9,7 @@ FileName: tizen-boot-armv7l-rpi4
Groups:
- IoT Boot RPi4 32Bit
- IoT Hal Base
-- IoT Hal Backend RPI3
+- IoT Hal Backend RPI4
Repos:
- unified-standard
- base-standard
diff --git a/patterns/iot-hal-backend-rpi4.yaml b/patterns/iot-hal-backend-rpi4.yaml
new file mode 100644
index 0000000..aeea04b
--- /dev/null
+++ b/patterns/iot-hal-backend-rpi4.yaml
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend RPI4
+Description: IoT Hal Backend RPI4
+Name: iot-hal-backend-rpi4
+Packages:
+- building-blocks-sub1-Preset_boards-RPI4_HAL_Backend
diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post
index 79fca64..063b017 100644
--- a/scripts/iot-hal-backend.post
+++ b/scripts/iot-hal-backend.post
@@ -86,7 +86,7 @@ create_backend_dependency_file() {
}
#Supported Target's list
-TARGET=("RPI3" "ARTIK530" "VIM3" "C4");
+TARGET=("RPI3" "RPI4" "ARTIK530" "VIM3" "C4");
PKGGROUP=`/usr/bin/rpm -qa | /bin/grep package-groups`
if [ $PKGGROUP ]; then
@@ -102,6 +102,9 @@ if [ $PKGGROUP ]; then
RPI3)
BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend RPI3"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
;;
+ RPI4)
+ BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend RPI4"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+ ;;
ARTIK530)
BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend ARTIK530"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
;;