How Android modifies code to compile

Source: Internet
Author: User

1:./mk n (r) kernel;/mk bootimage; When modifying kernel related code, it is as follows:

alps/kernel/

alps/mediatek/platform/mt65xx/kernel/

alps/mediatek/source/kernel/

alps/mediatek/customer/mt65xx/kernel/

alps/mediatek/customer/common/kernel/

alps/mediatek/customer/$porject _name$/kernel

......

2:./mk N PL When modifying preloader related code, it is as follows:

alps/mediatek/platform/mt65xx/preloader/

alps/mediatek/source/preloader/

alps/mediatek/customer/mt65xx/preloader/

alps/mediatek/customer/common/preloader/

alps/mediatek/customer/$porject _name$/kernle

......

3:./MK uboot when modifying uboot related code, as follows:

alps/mediatek/platform/mt65xx/uboot/

alps/mediatek/source/uboot/

alps/bootable/bootloader/uboot/

alps/mediatek/customer/mt65xx/uboot/

alps/mediatek/customer/common/buoot/

alps/mediatek/customer/$porject _name$/uboot/

......

4:./MK systemimage when modifying system-related code, it is as follows:

alps/frameworks/

alps/packages/

alps/vendor/

Alps/hardware/

alps/dalvik/

...........

5:./MK recoverimage 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/customer/$project _name$/factory/

alps/mediatek/customer/common/factory/

alps/mediatek/source/factory/

......

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

alps/mediatek/source/secro/

alps/mediatek/customer/$project _name$/secro/

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.