Android When you modify some code, the compiler commands are most efficient

Source: Internet
Author: User

1:./mk n (r) kernel;/mk bootimage; When you modify kernel-related code, use this command, as follows:

alps/kernel/

alps/mediatek/platform/mt65xx/kernel/

alps/mediatek/source/kernel/

alps/mediatek/coustom/mt65xx/kernel/

alps/mediatek/coustom/common/kernel/

alps/mediatek/coustom/$porject _name$/kernel

......

2:./mk N PL When modifying preloader related code, use this command, as follows:

alps/mediatek/platform/mt65xx/preloader/

alps/mediatek/source/preloader/

alps/mediatek/coustom/mt65xx/preloader/

alps/mediatek/coustom/common/preloader/

alps/mediatek/coustom/$porject _name$/kernle

......

3:./MK uboot When you modify Uboot related code, use this command, as follows:

alps/mediatek/platform/mt65xx/uboot/

alps/mediatek/source/uboot/

alps/bootable/bootloader/uboot/

alps/mediatek/coustom/mt65xx/uboot/

alps/mediatek/coustom/common/buoot/

alps/mediatek/coustom/$porject _name$/uboot/

......

4:./MK systemimage Use this command when modifying system-related code, as follows:

alps/frameworks/

alps/packages/

alps/vendor/

Alps/hardware/

alps/dalvik/

...........

5:./MK recoverimage Use this command when modifying recover related code, as follows:

alps/bootable/recovery/

alps/mediatek/customer/$project _name$/recovery/

......

6:./MK factoryimage: Use this command when modifying factory related code as follows:

alps/mediatek/coustom/$project _name$/factory/

alps/mediatek/coustom/common/factory/

alps/mediatek/source/factory/

......

7:./MK secroimage Use this command when modifying Secro related code, as follows:

alps/mediatek/source/secro/

alps/mediatek/coustom/$project _name$/secro/

.....

7:./restproj Use this command when modifying Kp_prod related code

alps/kp_prod/k233_xx/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.