Skip to content

Additional build hooks #3236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2015
Merged

Additional build hooks #3236

merged 2 commits into from
May 29, 2015

Conversation

ffissore
Copy link
Contributor

Build hooks were first proposed in #2738
#3085 proposed another recipe, to be executed right after linking.

This PR attempts to solve any further need for additional steps in the build process by spreading hooks between all the main compilation phases.

For example, if your core needs two additional steps before linking and one after linking, you'll add

recipe.hooks.linking.prelink.0.pattern=
recipe.hooks.linking.prelink.1.pattern=
...
recipe.hooks.linking.postlink.0.pattern=

@ffissore ffissore added the Component: Toolchain The tools used for compilation and uploading to Arduino boards label May 26, 2015
@ffissore ffissore added this to the Release 1.6.5 milestone May 26, 2015
@ffissore ffissore self-assigned this May 26, 2015
PaulStoffregen and others added 2 commits May 28, 2015 17:28
…hooks are:

hooks.sketch.prebuild, hooks.sketch.postbuild, hooks.libraries.prebuild,
hooks.libraries.postbuild, hooks.core.prebuild, hooks.core.postbuild,
hooks.linking.prelink, hooks.linking.postlink, hooks.objcopy.preobjcopy,
hooks.objcopy.postobjcopy, hooks.savehex.presavehex, hooks.savehex.postsavehex
ffissore added a commit that referenced this pull request May 29, 2015
@ffissore ffissore merged commit 886590e into arduino:master May 29, 2015
@ffissore ffissore deleted the build-hooks branch May 29, 2015 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Toolchain The tools used for compilation and uploading to Arduino boards
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants