Message ID | 20181107021456.1219553-8-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Build fixes for make dist/install to work | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
snowpatch_ozlabs/build-multiarch | success | Test build-multiarch on branch master |
diff --git a/Makefile.am b/Makefile.am index 485cd95..e7c9a35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,7 +80,6 @@ pdbg_SOURCES = \ src/mem.c \ src/optcmd.c \ src/optcmd.h \ - src/options_@ARCH@.c \ src/options.h \ src/parsers.c \ src/parsers.h \ @@ -93,6 +92,16 @@ pdbg_SOURCES = \ src/scom.c \ src/thread.c +if TARGET_ARM +pdbg_SOURCES += src/options_arm.c +else +if TARGET_PPC +pdbg_SOURCES += src/options_ppc.c +else +pdbg_SOURCES += src/options_def.c +endif +endif + pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\" \ $(ARCH_FLAGS)
This enables "make dist" to include all the arch sources. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)