UINCDIR used by rules.mk, therefore should have UCSRC etc.. as well?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

UINCDIR used by rules.mk, therefore should have UCSRC etc.. as well?

Post by faisal »

What's the purpose of UINCDIR vs INCDIR. I'm guessing INCDIR is for all ChibiOS related paths, and UINCDIR for user related paths for their application? If that's the case, it seems that there should be a UCSRC (and UCPPSRC, etc .. ?) as well.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: UINCDIR used by rules.mk, therefore should have UCSRC etc.. as well?

Post by Giovanni »

Hi,

INCDIR is populated by the various .mk files, UINCDIR is for user paths, a little redundant. I would rather remove it rather than adding USRC.

Giovanni
Post Reply