diff options
author | Corey Farrell <git@cfware.com> | 2017-12-12 16:16:38 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-12-12 16:16:38 -0500 |
commit | 6a67828b4663ea5c3d9e2d4062fca18642512a15 (patch) | |
tree | a4759c291d96b1eee5b06fcc0657b28858fd72c6 /menuselect/Makefile | |
parent | 38dcdf2d680b69d1a2264fdebfa025858e49c22a (diff) |
menuselect: Tweak check for recently run configure.
Recently menuselect has randomly produced an error stating that
configure was just run and make had to be restarted. I believe this is
due to an incorrect menuselect/Makefile rule. The original rule
produced an error if makeopts or autoconfig.h were older than
makeopts.in or autoconfig.h.in. I believe this can create an issue if
makeopts is older than autoconfig.h.in or if autoconfig.h is older than
makeopts.in. The new rules compare files independently.
Change-Id: Ibca155035fa1392c95e33cbf25f257902abba17b
Diffstat (limited to 'menuselect/Makefile')
-rw-r--r-- | menuselect/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/menuselect/Makefile b/menuselect/Makefile index 96c574eb8..c6a6facb6 100644 --- a/menuselect/Makefile +++ b/menuselect/Makefile @@ -64,7 +64,10 @@ all: $(ALL_TGTS) $(OBJS) $(C_OBJS) $(N_OBJS) $(G_OBJS) $(M_OBJS): autoconfig.h menuselect.h -makeopts autoconfig.h: autoconfig.h.in makeopts.in +makeopts: makeopts.in +autoconfig.h: autoconfig.h.in + +makeopts autoconfig.h: @./configure $(CONFIGURE_SILENT) @echo "****" @echo "**** The configure script was just executed, so 'make' needs to be" |