Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build without make clean after making changes in dts with AOSP?

I made few changes in dts and when i gave make -j8 from my aosp-root-directory, I don't see the changes taking place after building it and booting up my board. It just quickly builds in a minute or so. For the changes to take place, i had to give make clean.

Giving make clean takes about 4 hours. Do i have to give make clean everytime i do any changes in my build/dts or can we somehow just clean kernel and build it without cleaning the whole OUT directory?

like image 742
Sourabrt Avatar asked Nov 02 '25 18:11

Sourabrt


1 Answers

To enforce the changes and make sure that they are present in the images, I manually remove the system and vendor images before make:

find ./out -name vendor.img -delete -o -name system.img -delete

and then do make:

make -j8
like image 148
Mykola Khyliuk Avatar answered Nov 04 '25 08:11

Mykola Khyliuk