summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang kim <wchang.kim@samsung.com>2020-07-22 08:35:40 +0900
committerwchang kim <wchang.kim@samsung.com>2020-07-22 08:35:40 +0900
commit89fdcdc9958a3c421945ddcea8d279e4f5564086 (patch)
tree111bcaa4540704f2dd5dabf73da34e93f958f33d
parentd8f3670d8d90da2fdb6bd348fe2bd996a2c460dc (diff)
downloadtbb-89fdcdc9958a3c421945ddcea8d279e4f5564086.tar.gz
tbb-89fdcdc9958a3c421945ddcea8d279e4f5564086.tar.bz2
tbb-89fdcdc9958a3c421945ddcea8d279e4f5564086.zip
Adding a config menu to add extra packages
Change-Id: Ie0fa1ef93476cc39769c04bf4960b2d9349ee427
-rw-r--r--Config.in12
-rw-r--r--configs/tizen_headed_rpi_defconfig9
-rw-r--r--configs/tizen_headless_rpi_defconfig13
-rwxr-xr-xsupport/scripts/extract_info.sh10
4 files changed, 38 insertions, 6 deletions
diff --git a/Config.in b/Config.in
index d43967b..7d031e6 100644
--- a/Config.in
+++ b/Config.in
@@ -53,6 +53,18 @@ config TBB_INFO_PRIVATE_REPO3
prompt "private repository3"
string
+config TBB_INFO_EXTRA_PACKAGES1
+ prompt "Extra packages1"
+ string
+ help
+ Adding extra packages. Please put a space between the packages as a seperator.
+
+config TBB_INFO_EXTRA_PACKAGES2
+ prompt "Extra packages2"
+ string
+ help
+ Adding extra packages. Please put a space between the packages as a seperator.
+
endif
endif
config TBB_INFO_DL_DIR
diff --git a/configs/tizen_headed_rpi_defconfig b/configs/tizen_headed_rpi_defconfig
index 0dc6689..fde09db 100644
--- a/configs/tizen_headed_rpi_defconfig
+++ b/configs/tizen_headed_rpi_defconfig
@@ -48,7 +48,6 @@ TBB_ENABLE_HEADED=y
#
# HW & HAL Features for RPI3
#
-# building-blocks-sub2-Preset_boards-RPI3-Display_Headless is not set
building-blocks-sub2-Preset_boards-RPI3-Display=y
# TBB_SET_no_display_RPI3 is not set
building-blocks-sub2-Preset_boards-RPI3-Audio=y
@@ -75,12 +74,7 @@ building-blocks-sub2-Preset_boards-RPI3-System_Device=y
# building-blocks-sub2-Preset_boards-RPI3-Telephony is not set
building-blocks-sub2-Preset_boards-RPI3-Wifi=y
building-blocks-sub2-Preset_boards-RPI3-WifiDirect=y
-# TBB_SET_no_partition is not set
-# building-blocks-sub1-Preset_partition-2parts_ramdisk_recovery is not set
building-blocks-sub1-Preset_partition-3parts_ramdisk_recovery=y
-# building-blocks-sub1-Preset_partition-3parts is not set
-# building-blocks-sub1-Preset_partition-3parts_ramdisk is not set
-# building-blocks-sub1-Preset_partition-2parts_ramdisk is not set
#
# Tizen IoT Preset
@@ -2355,6 +2349,7 @@ initrd-flash=y
# libomxil-e7270-v4l2-devel is not set
# libomxil-e9110-v4l2 is not set
# libomxil-e9110-v4l2-devel is not set
+# libomxil-vc4 is not set
# libomxil-vc4-devel is not set
# libomxil-vc4-utils is not set
# libopenblas_openmp-devel is not set
@@ -3504,4 +3499,6 @@ reboot-param-helper=y
TBB_INFO_PRIVATE_REPO1=""
TBB_INFO_PRIVATE_REPO2=""
TBB_INFO_PRIVATE_REPO3=""
+TBB_INFO_EXTRA_PACKAGES1=""
+TBB_INFO_EXTRA_PACKAGES2=""
TBB_INFO_DL_DIR="${TOPDIR}/dl"
diff --git a/configs/tizen_headless_rpi_defconfig b/configs/tizen_headless_rpi_defconfig
index 156893e..37ae403 100644
--- a/configs/tizen_headless_rpi_defconfig
+++ b/configs/tizen_headless_rpi_defconfig
@@ -49,6 +49,7 @@ TBB_ENABLE_USB_HOST=y
# HW & HAL Features for RPI3
#
building-blocks-sub2-Preset_boards-RPI3-Display_Headless=y
+# building-blocks-sub2-Preset_boards-RPI3-Display is not set
# TBB_SET_no_display_RPI3 is not set
building-blocks-sub2-Preset_boards-RPI3-Audio=y
# building-blocks-sub2-Preset_boards-RPI3-Audio_Recording is not set
@@ -69,7 +70,12 @@ building-blocks-sub2-Preset_boards-RPI3-System_Device=y
# building-blocks-sub2-Preset_boards-RPI3-Telephony is not set
building-blocks-sub2-Preset_boards-RPI3-Wifi=y
# building-blocks-sub2-Preset_boards-RPI3-WifiDirect is not set
+# TBB_SET_no_partition is not set
building-blocks-sub1-Preset_partition-2parts_ramdisk_recovery=y
+# building-blocks-sub1-Preset_partition-3parts_ramdisk_recovery is not set
+# building-blocks-sub1-Preset_partition-3parts is not set
+# building-blocks-sub1-Preset_partition-3parts_ramdisk is not set
+# building-blocks-sub1-Preset_partition-2parts_ramdisk is not set
#
# Tizen IoT Preset
@@ -1194,6 +1200,9 @@ building-blocks-sub1-domain_Feature-Setup=y
# capi-nnstreamer is not set
# capi-nnstreamer-devel is not set
# capi-nnstreamer-devel-static is not set
+# capi-nntrainer is not set
+# capi-nntrainer-devel is not set
+# capi-nntrainer-devel-static is not set
# capi-privacy-privilege-manager is not set
# capi-system-battery-monitor is not set
# capi-system-battery-monitor-test is not set
@@ -2121,6 +2130,7 @@ initrd-flash=y
# libomxil-e7270-v4l2-devel is not set
# libomxil-e9110-v4l2 is not set
# libomxil-e9110-v4l2-devel is not set
+# libomxil-vc4 is not set
# libomxil-vc4-devel is not set
# libomxil-vc4-utils is not set
# libopenblas_openmp-devel is not set
@@ -2494,6 +2504,7 @@ initrd-flash=y
# nntrainer is not set
# nntrainer-applications is not set
# nntrainer-devel is not set
+# nntrainer-devel-static is not set
# notification is not set
# notification-devel is not set
# notification-ex is not set
@@ -3270,4 +3281,6 @@ reboot-param-helper=y
TBB_INFO_PRIVATE_REPO1=""
TBB_INFO_PRIVATE_REPO2=""
TBB_INFO_PRIVATE_REPO3=""
+TBB_INFO_EXTRA_PACKAGES1=""
+TBB_INFO_EXTRA_PACKAGES2=""
TBB_INFO_DL_DIR="${TOPDIR}/dl"
diff --git a/support/scripts/extract_info.sh b/support/scripts/extract_info.sh
index 9ad5255..711b496 100755
--- a/support/scripts/extract_info.sh
+++ b/support/scripts/extract_info.sh
@@ -27,6 +27,16 @@ grep partition $TBB_CONFIG | grep -v "^#" > $INFO_DIR/.part_info.txt
sed -i "s|=y||g" $INFO_DIR/.part_info.txt
sed -i "s|building-blocks-sub1-Preset_partition-||g" $INFO_DIR/.part_info.txt
+grep TBB_INFO_EXTRA_PACKAGES1 $TBB_CONFIG > $INFO_DIR/.extra_pack.txt
+grep TBB_INFO_EXTRA_PACKAGES2 $TBB_CONFIG >> $INFO_DIR/.extra_pack.txt
+
+. $INFO_DIR/.extra_pack.txt
+
+EXT_PACK="$TBB_INFO_EXTRA_PACKAGES1 $TBB_INFO_EXTRA_PACKAGES2"
+for PACK in $EXT_PACK
+do
+ echo "$PACK" >> $INFO_DIR/.pack_list.txt
+done
cat $INFO_DIR/.bb_list.txt $INFO_DIR/.pack_list.txt > $INFO_DIR/.image_list.txt
return 0