[linux-yocto] How to remove a module from core-image-base

朱庆华 qinghua.zhu at cnlaunch.com
Thu Jul 28 01:20:19 PDT 2016


Hello,
         I don’t know if it’s ok to send this email.
         I just meet a simple problem, and I try every method but i still can’t solve it.

         I download yocto from http://freescale.github.io/ , and build core-image-base.

MACHINE=imx6ulevk source setup-environment imx6ul
bitbake core-image-base

         After it’s finished , I want to remove a module, such as I can see a file
/home/user/fsl-community-bsp/imx6ul/tmp/work/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0/rootfs/lib/modules/4.1.15-1.1.0+ga4d2a08/kernel/drivers/net/wireless/ bcmdhd/ bcmdhd.ko
         I just execute “bitbake linux-imx -c menuconfig” and remove all “Device Drivers  ---> Network device support  ---> [ ]   Wireless LAN  ----”,it’s blank, I didn’t choose it.
And I execute “rm -rf core-image-base” in directory “/home/user/fsl-community-bsp/imx6ul/tmp/work/imx6ulevk-poky-linux-gnueabi”

I wish I won’t see this modules again.
         I run commands as below to rebuild.
#!/bin/sh
rm tmp/stamps/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0.do_compile*
bitbake linux-imx -c compile
bitbake linux-imx -c compile_kernelmodules
if [ $? -ne 0 ];then
        exit
fi
rm sstate-cache/0d/sstate\:linux-imx\:imx6ulevk-poky-linux-gnueabi\:4.1.15\:r0\:imx6ulevk\:3\:0d8abcd98b0d527280499c07fb574e03_deploy.tgz
rm tmp/stamps/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0.do_deploy.*
bitbake linux-imx -c deploy
if [ $? -ne 0 ];then
        exit
fi
rm tmp/stamps/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0.do_rootfs.*
bitbake core-image-base

         but unfortunately, I can find bcmdhd.ko in the same directory.

         I just want to know where the cache is.
         I even run “rm -rf sstate-cache” to delete all cache directory, but it still there, and the size, the time ,nothing changed.

         Can you tell me where the cache is ?
         Thanks very much!


姓名/Name:朱庆华
职位/Title:ARM工程师
深圳市元征科技股份有限公司 | 技术开发部
Launch Tech Co.,Ltd | Technical Development Dept.
地址:深圳市龙岗区坂雪岗工业区五和大道北元征工业园
ADD:Launch Industrial Park,North Wuhe Rd,Banxuegang, Longgang,Shenzhen,Guangdong P.R.China
邮编/PostCode:518129
手机/Mobile:+86-(0) 17097219653
邮件/Email:qinghua.zhu at cnlaunch.com
主页/Website:www.cnlaunch.com  www.golo365.com

===============================================

本邮件及其附件含有元征公司的保密信息,仅限于发送给上面地址中
列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于
全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收
了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

This e-mail and its attachments contain confidential information
from LAUNCH,which is intended only for the person or entity whose
address is listed above.
Any use of the information contained herein in any way (including,
but notlimited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient(s)
is prohibited.
If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20160728/3974f30c/attachment.html>


More information about the linux-yocto mailing list