aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2021-09-30 16:48:14 +1000
committerAlexey Kardashevskiy <aik@ozlabs.ru>2021-10-01 14:19:58 +1000
commit0705a5cc1df7ad6bd3c2a7dfb1faccd3b44269c1 (patch)
treeee9720426e1ba130936c7304d69941d734cadc65 /lib
parent6903c037a6b45140a495a6541ef92a0aabc7a30c (diff)
downloadSLOF-0705a5cc1df7ad6bd3c2a7dfb1faccd3b44269c1.zip
SLOF-0705a5cc1df7ad6bd3c2a7dfb1faccd3b44269c1.tar.gz
SLOF-0705a5cc1df7ad6bd3c2a7dfb1faccd3b44269c1.tar.bz2
js2x: Fix compile and cleanup
This moves shared symbols out from the header file and leaves only the minimum in bmc.h. This fixes a "while (...); {" bug spotted by the modern gcc. This fixes cleanup as otherwise the board-js2x/Makefile's "clean" tries cleaning "rtas" which tries cleaning all libs (not just the ones it uses) and that in turn triggers generation of lib/libtpm/Makefile.dep which fails due to missing ./board-js2x/include/version.h. This fixes create_reloc_table.sh to build with newer toolchains which otherwise fail with: ld: cannot use executable file 'reloc_table.o' as input to a link This adds js2x compile to the travis script to know when it breaks again. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 7369894..fbc4eec 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -25,11 +25,11 @@ $(SUBDIRS):
# Rules for making clean:
clean:
- @for dir in $(SUBDIRS); do \
+ @for dir in $(COMMON_LIBS); do \
$(MAKE) -C $$dir clean || exit 1; \
done
distclean:
- @for dir in $(SUBDIRS); do \
+ @for dir in $(COMMON_LIBS); do \
$(MAKE) -C $$dir distclean || exit 1; \
done