●ビルド手順
	本ビルド手順は、2023/05/26の時点で検証しています。
	以降は、リンク切れが発生する可能性があるため、ご了承ください。

ⅰ. Base環境の取得

	1.repoを取得します。
		$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo_howtobuild
		$ chmod a+rwx ~/bin/repo_howtobuild

	2.Base環境を取得します。
		$ repo_howtobuild init -u https://git.codelinaro.org/clo/le/le/manifest.git -b release -m LE.UM.1.2-91700-9x07.xml
		$ repo_howtobuild sync

		※repo_howtobuildに指定するManifestFileについては下記のURLで一覧が公開されています。
		https://git.codelinaro.org/clo/le/le/manifest

ⅱ. ソースコードのビルド

	1.***_kernel_***.tar.gzを解凍し、Base環境に上書きしてください。
		$ tar xvf ***_kernel_***.tar.gz
		$ cp -rf kernel/* ＜Base環境＞/

	2.***_opensource_***.tar.gzを解凍し、Base環境に上書きしてください。
		$ tar xvf ***_opensource_***.tar.gz
		$ cp -rf opensource/* ＜Base環境＞/

	3.Quallcom Proprietary Build Ruleを無効化します。
		$ find -type f -name "*.bb" -or -name "*.bbappend" -or -name "*.inc" | xargs sed -i 's/ qcommon //g'
		$ find -type f -name "*.bb" -or -name "*.bbappend" -or -name "*.inc" | xargs sed -i 's/qcommon //g'
		$ find -type f -name "*.bb" -or -name "*.bbappend" -or -name "*.inc" | xargs sed -i 's/ qcommon//g'
		$ find -type f -name "*.bb" -or -name "*.bbappend" -or -name "*.inc" | xargs sed -i 's/autotools-brokenseppkgconfig/autotools/g'

	4.リンク切れのURLを最新化します。
		$ sed -i -e "s/\${CAF_GIT}\/platform\/external\/prelink\-cross\;protocol\=git\;branch\=yocto/\${CLO_LE_GIT}\/platform\/external\/prelink\-cross\;protocol\=https\;branch\=caf_migration\/yocto/" poky/meta-qti-bsp/recipes-devtools/prelink/prelink_git.bbappend
		$ sed -i -e "s/\${CAF_GIT}\/platform\/external\/yocto\-kernel\-tools\;protocol\=git\;branch\=yocto/\${CLO_LE_GIT}\/platform\/external\/yocto\-kernel\-tools\;protocol\=https\;branch\=caf_migration\/yocto/" poky/meta-qti-bsp/recipes-kernel/kern-tools/kern-tools-native_git.bbappend
		$ sed -i -e "s/\${CAF_GIT}\/platform\/external\/update\-rc\.d\;protocol\=git\;branch\=github/\${CLO_LE_GIT}\/platform\/external\/update\-rc\.d\;protocol\=https\;branch\=caf_migration\/github/" poky/meta-qti-bsp/recipes-core/update-rc.d/update-rc.d_0.7.bbappend
		$ sed -i -e "s/\${CAF_GIT}\/platform\/external\/ethtool\;protocol\=git\;branch\=korg/\${CLO_LE_GIT}\/platform\/external\/ethtool\;protocol\=https\;branch\=caf_migration\/korg/" poky/meta-qti-bsp/recipes-extended/ethtool/ethtool_git.bb

	5.GitリポジトリのURL書き換え設定を行います。
		$ git config --global http.sslverify false

	6.ビルド
		$ cd poky
		$ source build/conf/set_bb_env.sh
		$ export MACHINE=mdm9607
		$ bitbake ${PACKAGE}

	注）PACKAGEには、ビルド対象のパッケージ名を入力してください。パッケージ名は下記のとおりです。
		また、製品に含まれているパッケージをご確認のうえ選択してください。
		
		attr, base-files, base-passwd, busybox, conntrack-tools, cryptodev-linux, ddclient, 
		dnsmasq, e2fsprogs, ebtables, ethtool, glib-2.0, glibc, init-ifupdown, initscripts, 
		iproute2, iptables, iputils, kbd, keymaps, libatomic-ops, libcap, libcheck, 
		libnetfilter-conntrack, libnfnetlink, libnl, libsepol, liburcu, linux-libc-headers, 
		linux-quic, lttng-ust, lzo, mtd-utils, netbase, opkg-utils, perl, pkgconfig, ppp, 
		readline, sysvinit, sysvinit-inittab, tinyproxy, update-rc.d, util-linux, ca-certificates, 
		avahi, dbus, libnss-mdns, wireless-tools, libdaemon

[END]