Skip to content
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

✨Add support for extra Make scripts #170

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

edjubuh
Copy link
Member

@edjubuh edjubuh commented Sep 15, 2019

Summary:

Automatically include any firmware/*.mk scripts in Make system to allow
templates to modify build process (e.g. add extra flags or
dependencies).

Motivation:

A library wishes to dynamically generate a C file at Make time based on some text file and include in project's binary. There is currently no support for this. With this modification, library author creates a firmware/mylibrary.mk file which adds the corresponding variable modifications and rules to ensure the C file is generated and compiled as part of the user's project.

References (optional):

Test Plan:

  • Scripts are included

Automatically include any firmware/*.mk scripts in Make system to allow
templates to modify build process (e.g. add extra flags or
dependencies).
@edjubuh edjubuh force-pushed the feature/library-make-mods branch from 5d0622f to ebecb71 Compare September 15, 2019 05:54
@edjubuh edjubuh changed the title Add support for extra Make scripts ✨Add support for extra Make scripts Sep 15, 2019
@HotelCalifornia HotelCalifornia added enhancement This builds on top of an existing feature p: low Low priority labels Sep 19, 2019
@HotelCalifornia HotelCalifornia added this to the 3.2.1 milestone Sep 19, 2019
@Octogonapus
Copy link
Contributor

This looks good, what else is missing before a merge?

Copy link
Contributor

@HotelCalifornia HotelCalifornia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@HotelCalifornia HotelCalifornia merged commit f419c5f into develop Nov 3, 2019
@HotelCalifornia HotelCalifornia deleted the feature/library-make-mods branch September 13, 2020 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This builds on top of an existing feature p: low Low priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants