# Tizen Building Block 20171210.1 Configuration
#
#TBB_INFO_PLATFORM_VERSION_4.0=y
-TBB_INFO_PLATFORM_VERSION_5.0=y
+#TBB_INFO_PLATFORM_VERSION_5.0=y
+TBB_INFO_PLATFORM_VERSION_6.0=y
TBB_INFO_SNAPSHOT_ID="latest"
TBB_INFO_IMAGE_NAME="tizen-iot-img"
+TBB_INFO_PROFILE_NAME="tizeniot"
TBB_SET_no_board=y
# building-blocks-sub1-Preset_boards-ARTIK530 is not set
# building-blocks-sub1-Preset_boards-RPI3 is not set
string "Image Name"
default "tizen-iot-img"
-source "board/Config.in"
+config TBB_INFO_PROFILE_NAME
+ string "Profile Name"
+ default "tizeniot"
+ help
+ You must use only alphabet and "-".
+source "board/Config.in"
if !TBB_SET_no_board
source "partition/Config.in"
@$(TIC_CONFIG_ENV) $(TOPDIR)/support/scripts/make_image.sh
endif
+.ONESHELL: # Only applies to configsdk target
+configsdk:
+ifeq ($(wildcard $(INFO_DIR)/.bb_list.txt),)
+ @echo "Please make a image firstly..."
+else
+ @cd $(TOPDIR)/config-sdk
+ @echo "$(INFO_DIR)/.bb_list.txt|$(TBB_INFO_IMAGE_NAME)|$(TBB_INFO_PLATFORM_VERSION)"
+ @$(TIC_CONFIG_ENV) ./make_extension.sh $(INFO_DIR)/.bb_list.txt $(TBB_INFO_PROFILE_NAME) $(TBB_PLATFORM_VERSION)
+ @cd $(TOPDIR)
+endif
+
+.ONESHELL: # Only applies to configsdk target
+cleansdk:
+ @cd $(TOPDIR)/config-sdk
+ ./clean_data.sh
+ @cd $(TOPDIR)
+
+
HOSTCC := gcc
$(BUILD_DIR)/buildroot-config/%onf:
clean:
rm -rf $(BUILD_DIR) $(INFO_DIR)
+ make cleansdk
distclean: clean
rm -rf $(BASE_DIR)
1. Cleanning configurations and build output
- make distclean
-2. Cleanning build output
+2. Cleanning build output & sdk extension
- make clean
3. Selecting configurations
4. Making a image (After selecting configurations)
- make
-5. Saving a configuration file (After selection configurations)
+5. Making a sdk extension (After making a image)
+- make configsdk
+
+6. Saving a configuration file (After selection configurations)
- cp .config configs/xxx_defconfig
- xxx : configuration name
-6. Loading a configuration
+7. Loading a configuration
- make xxx_defconfig
-
-7. Help
+8. Help
- make help
########## function : downlading & update partition ##########
PART_FILE=common-3parts-ramdisk-recovery
-PART_LOC=https://git.tizen.org/cgit/profile/common/meta/plain/partitions/common-3parts-ramdisk-recovery?h=tizen_5.0
+PART_LOC=https://git.tizen.org/cgit/profile/common/meta/plain/partitions/common-3parts-ramdisk-recovery?h=tizen
download_update_partition() {
if [ ! -e $DOWNDIR/$PART_FILE ]
then