On Sun, Oct 28, 2018 at 08:14:37AM +0900, Akira Yokosawa wrote: > >From ce0f6785bd5e059a29a3d647287bcf93648f66f8 Mon Sep 17 00:00:00 2001 > From: Akira Yokosawa <akiyks@xxxxxxxxx> > Date: Sun, 28 Oct 2018 08:02:09 +0900 > Subject: [PATCH] CodeSamples: Add api-pthreads/api-gcc.h in depends.mk > > While testing change in cmpxchg() commited as cda0234ccd2c > ("atomic_cmpxchg: Handle spurious failure of > __atomic_compare_exchange_n"), api.h was not updated > automatically by "make". Fix this by adding the dependency > (api-pthreads/api-gcc.h -> api.h) > > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> Applied and pushed, thank you! Thanx, Paul > --- > CodeSamples/depends.mk | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/CodeSamples/depends.mk b/CodeSamples/depends.mk > index 31a8daf..a6db993 100644 > --- a/CodeSamples/depends.mk > +++ b/CodeSamples/depends.mk > @@ -26,7 +26,9 @@ subdir_ub := > endif > > api_depend_common := $(top)/linux/common.h \ > - $(top)/api-pthreads/api-pthreads.h > + $(top)/api-pthreads/api-pthreads.h \ > + $(top)/api-pthreads/api-gcc.h > + > ifeq ($(target),x86) > api_depend := $(top)/arch-x86/arch-x86.h > arch_depend := $(top)/arch-x86/Makefile.arch > -- > 2.7.4 >