How to rebuild fsl-toolchain??

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to rebuild fsl-toolchain??

1,653件の閲覧回数
mohankumarkanne
Contributor I

Hi Folks,

I want to patch glibc with some security patches.

I would like to know the procedure to patch and rebuild the toolchain.

Can you guys please help??

Thanks,

Mohan.

タグ(1)
0 件の賞賛
返信
1 返信

1,335件の閲覧回数
lunminliang
NXP Employee
NXP Employee

Hi,

Please refer to below:

1. $ cd <yocto_install_path>/build_<machine>_release

2. $ bitbake -c cleansstate <package-name>

3. $ cd <RECIPE_FOLDER>

                                  NOTE

Use bitbake <package-name> -e | grep ^FILE_DIR to get

the value of <RECIPE_FOLDER>

4. $ mkdir -p <RECIPE_FOLDER>/files

5. Copy patch into <RECIPE_FOLDER>/files

6. Modify <BB_FILE> and add follow content in package-name-<version>.bb file

SRC_URI += "file://<name-of-patch1> \

file://<name-of-patch2> \

... \

file://<name-of-patchn>"

7. Rebuild this package:

$ bitbake <package-name>

This is listed in Section 2.1.6 Packages of SDK document:

Freescale Technical Information Center

Is this what you want?


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信