Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Only remake $(TARGET_BASE).elf el al. if necessary #1223
Commit ee1d29e made it possible to run program-dfu and friends without
The problem is that currently, $(MAKE_DEPENDENCIES) is phony, so real
One solution is to move the phony prerequisites from the real targets to
@jablko I'm curious what make commands you are running, and what this change helps you achieve. I'm following what you are saying in the problem statement, and I'm also wondering if there is something we might break by making this change.
@m-mcgowan would you please review the make changes you made which were referenced in the past vs. this current proposal?
I currently use only make commands that start with
I ran a test between these two sets of commands and see a speed increase using the latter, but no difference between this PR and
I find that it runs the $(TARGET_BASE).elf recipe every time -- even though $(TARGET_BASE).dfu is up to date. Do you see the same thing?
It didn't used to do this -- and it's a mistake for a real target to depend on a phony target:
I did test it and merged, but was clearly not wide enough awake..because
So we will have to back out the commit until we can fix it. I'm puzzled why this doesn't happen for you, but perhaps changes later in the