Skip to contentSkip to conversation

make mrclean for each build?

DISCUSSION Jaehee Park 2 participants 2 messages Mar 31, 2022

lore
Share & tools
lore
#0 lore raw

Should we be doing make mrclean or make mrproper(probably not this extreme) to rebuild after each change? Or is compling only part of the kernel (as it says in the outreachy firstpatch guide) good enough? I think the latter is probably fine because we're working on one module at a time, but just wanted to confirm.

Thanks,
Jaehee ("Jay-hee")

#1 lore raw
Quoted 3 lines · Jaehee Park

Should we be doing make mrclean or make mrproper(probably not this extreme) to rebuild after each change? Or is compling only part of the kernel (as it says in the outreachy firstpatch guide) good enough? I think the latter is probably fine because we're working on one module at a time, but just wanted to confirm.

Generally, no need to clean/rebuild entire kernel when you are working on a loadable module in drivers/staging.

The frequently occuring issue, is that you send a patch that does not apply to Greg's tree because your tree is outdated. As you can see, Greg is constantly accepting cleanups in staging, so you need to stay in sync with that moving target! See the https://kernelnewbies.org/Outreachyfirstpatch part about "Update your kernel" where it explains how to fetch and rebase.

You will go to sync one day and find that what you were working on, has been fixed by someone else. It happens ;)

Quoted 4 lines

Thanks,
Jaehee ("Jay-hee")