[Buildroot] [PATCH v7 3/8] core: implement per-package SDK and target

Jan Kundrát jan.kundrat at cesnet.cz
Wed Nov 6 08:13:41 UTC 2019


> Then I guess the TARGET_FINALIZE_HOOKS is the only solution here.

Yes, this sounds reasonable.

> But thinking more about this issue, it really means that no package
> should overwrite any file installed by one of its dependencies:

Agreed. Of course there are still scenarios where packages have to 
overwrite stuff which belongs to something else (think of packages 
"registering themselves" within a file managed by a package they depend 
on). These can be solved by explicitly configuring these packages so that 
this conflicting resource exists in just one location, i.e., outside of the 
per-package namespace.

I've been doing this with (still out-of-tree) sysrepo etc like this:

https://gerrit.cesnet.cz/plugins/gitiles/github/buildroot/buildroot/+/refs/heads/cesnet/2019-06-10/package/sysrepo/sysrepo.mk#41

How does merging the ppsh work look?

With kind regards,
Jan



More information about the buildroot mailing list