[Buildroot] [PATCH next v4 6/6] core: implement per-package SDK and target

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Nov 20 16:19:56 UTC 2018


On Mon, 19 Nov 2018 11:48:06 +0100, Thomas Petazzoni wrote:

>  3. Patch step
>     Prepare PPD with patch dependencies

In fact no: this is *not* needed. Patch dependencies are special:

$$($(2)_TARGET_PATCH):  | $$(patsubst %,%-patch,$$($(2)_FINAL_PATCH_DEPENDENCIES))

Contrary to other dependencies where we depend on the "dependent"
package to be fully built and installed, a patch dependency is a
dependency between the patch step of package A, and the patch step of
package B.

Since we only depend on the patch step of the "dependent" package to be
completed, and that up the patch step, packages are not allowed to
install stuff to $(HOST_DIR), $(TARGET_DIR) or $(STAGING_DIR), there is
nothing to do in terms of per-package folder preparation.

Best regards,

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list