arm: Fix "make export" for KERNEL build
Please merge when the conversation is resolved.
@yamt could you review the new change?
@xiaoxiang781216 my understanding is that it isn't appropriate to add crt0.c to CMN_CSRCS as it's for kernel sources.
@xiaoxiang781216 my understanding is that it isn't appropriate to add crt0.c to CMN_CSRCS as it's for kernel sources.
Good point, I will change to CMN_UCSRCS.
@xiaoxiang781216 what ensures UOBJS built before STARTUP_OBJS is being used?
@xiaoxiang781216 what ensures UOBJS built before STARTUP_OBJS is being used?
export_startup depend on STARTUP_OBJS, so it isn't an issue, but UOBJS will be archived libuarch.a which mayn't what we want.
@yamt @xiaoxiang781216 Can we close this PR? it is almost four months old and there have been no updates or comments for almost three months now.
@yamt please comment
i guess the problem still exists. but i'm not looking at KERNEL build these days. it's great if someone more familiar with KERNEL build can take this over.
@yamt could you fill the PR description. We can leave this open to indicate the solution needs testing.