Skip to content

Commit

Permalink
Squashed 'tools/' changes from 46b8265..b220f44
Browse files Browse the repository at this point in the history
b220f44 cmake: version path typo
1fa2f62 Merge commit '9fc4adef91f7ea18c4cb9a72422165c90e6d09ce'
9fc4ade Squashed 'libmakefile/' changes from c0efce5..23f6a23
b83b10b package version update: cmake 3.12 coreutils 8.30 gcc 8.2.0
32f7671 git-subtree-check update to Bitcoin e3245f2e7b6f98cda38a3806da854f7d513fec2f

git-subtree-dir: tools
git-subtree-split: b220f441a814ea7bb5906e4c66b71eaaf60fb491
  • Loading branch information
kozyilmaz committed Aug 6, 2018
1 parent b0a9278 commit 4a5d609
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 41 deletions.
4 changes: 2 additions & 2 deletions cmake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ target_name ?= cmake

include ../Makefile.build

CMAKE_VERSION="3.11.3"
CMAKE_VERSION="3.12.0"

cmake_clone:
if [ ! -f "cmake-$(CMAKE_VERSION).tar.gz" ]; then curl -OL https://cmake.org/files/v3.11/cmake-$(CMAKE_VERSION).tar.gz; fi;
if [ ! -f "cmake-$(CMAKE_VERSION).tar.gz" ]; then curl -OL https://cmake.org/files/v3.12/cmake-$(CMAKE_VERSION).tar.gz; fi;
if [ ! -d "cmake-$(CMAKE_VERSION)" ]; then tar xzf cmake-$(CMAKE_VERSION).tar.gz; fi

cmake_config:
Expand Down
1 change: 1 addition & 0 deletions contrib/devtools/git-subtree-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C
DIR="$1"
COMMIT="$2"
if [ -z "$COMMIT" ]; then
Expand Down
2 changes: 1 addition & 1 deletion coreutils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ target_name ?= coreutils

include ../Makefile.build

COREUTILS_VERSION="8.29"
COREUTILS_VERSION="8.30"

coreutils_clone:
if [ ! -f "coreutils-$(COREUTILS_VERSION).tar.xz" ]; then curl -OL https://ftp.gnu.org/gnu/coreutils/coreutils-$(COREUTILS_VERSION).tar.xz; fi;
Expand Down
2 changes: 1 addition & 1 deletion gnugcc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ target_name ?= gnugcc

include ../Makefile.build

GCC_VERSION="8.1.0"
GCC_VERSION="8.2.0"

gnugcc_clone:
if [ ! -f "gcc-$(GCC_VERSION).tar.gz" ]; then curl -OL http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.gz; fi;
Expand Down
76 changes: 39 additions & 37 deletions libmakefile/Makefile.lib
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
# 20180123 - add ./ to includes-y and libriries-y by default
# 20180204 - seemless qt .moc, .ui support
# 20180228 - rename distdir to dist.dir
# 20180718 - fix @.cmd
# 20180723 - use file_cflags-y if exists

#
# Example
Expand Down Expand Up @@ -418,7 +420,7 @@ disp_distclean = $($(verbose)_disp_distclean)
# _CMD
#
_cmd_depend.c = $(CC) $(CFLAGS) $($1_cflags) \
$($1_includes) -M $$< | $(SED) 's,\($$(basename $$(basename $$(notdir $$@)))\.o\) *:,$$(dir $$@)\1 $$@: ,' > $$@; \
$($1_includes) $$($1_$$<_cflags-y) -M $$< | $(SED) 's,\($$(basename $$(basename $$(notdir $$@)))\.o\) *:,$$(dir $$@)\1 $$@: ,' > $$@; \
$(CP) $$@ [email protected]; \
$(SED) -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$$$//' -e '/^$$$$/ d' -e 's/$$$$/ :/' < $$@ >> [email protected]; \
$(MV) [email protected] $$@
Expand Down Expand Up @@ -511,47 +513,47 @@ _cmd_distclean = $(RM)
#
# CMD
#
cmd_depend.c = echo "$(_cmd_depend.c)" > [email protected] ; $(_cmd_depend.c)
cmd_compile.c = echo "$(_cmd_compile.c)" > [email protected] ; $(_cmd_compile.c)
cmd_link.c = echo "$(_cmd_link.c)" > [email protected] ; $(_cmd_link.c)
cmd_link_so.c = echo "$(_cmd_link_so.c)" > [email protected] ; $(_cmd_link_so.c)
cmd_depend.c = echo "$(subst ",\",$(_cmd_depend.c))" > [email protected] ; $(_cmd_depend.c)
cmd_compile.c = echo "$(subst ",\",$(_cmd_compile.c))" > [email protected] ; $(_cmd_compile.c)
cmd_link.c = echo "$(subst ",\",$(_cmd_link.c))" > [email protected] ; $(_cmd_link.c)
cmd_link_so.c = echo "$(subst ",\",$(_cmd_link_so.c))" > [email protected] ; $(_cmd_link_so.c)

cmd_depend.c.host = echo "$(_cmd_depend.c.host)" > [email protected] ; $(_cmd_depend.c.host)
cmd_compile.c.host = echo "$(_cmd_compile.c.host)" > [email protected] ; $(_cmd_compile.c.host)
cmd_link.c.host = echo "$(_cmd_link.c.host)" > [email protected] ; $(_cmd_link.c.host)
cmd_link_so.c.host = echo "$(_cmd_link_so.c.host)" > [email protected] ; $(_cmd_link_so.c.host)
cmd_depend.c.host = echo "$(subst ",\",$(_cmd_depend.c.host))" > [email protected] ; $(_cmd_depend.c.host)
cmd_compile.c.host = echo "$(subst ",\",$(_cmd_compile.c.host))" > [email protected] ; $(_cmd_compile.c.host)
cmd_link.c.host = echo "$(subst ",\",$(_cmd_link.c.host))" > [email protected] ; $(_cmd_link.c.host)
cmd_link_so.c.host = echo "$(subst ",\",$(_cmd_link_so.c.host))" > [email protected] ; $(_cmd_link_so.c.host)

cmd_depend.cxx = echo "$(_cmd_depend.cxx)" > [email protected] ; $(_cmd_depend.cxx)
cmd_compile.cxx = echo "$(_cmd_compile.cxx)" > [email protected] ; $(_cmd_compile.cxx)
cmd_link.cxx = echo "$(_cmd_link.cxx)" > [email protected] ; $(_cmd_link.cxx)
cmd_link_so.cxx = echo "$(_cmd_link_so.cxx)" > [email protected] ; $(_cmd_link_so.cxx)
cmd_depend.cxx = echo "$(subst ",\",$(_cmd_depend.cxx))" > [email protected] ; $(_cmd_depend.cxx)
cmd_compile.cxx = echo "$(subst ",\",$(_cmd_compile.cxx))" > [email protected] ; $(_cmd_compile.cxx)
cmd_link.cxx = echo "$(subst ",\",$(_cmd_link.cxx))" > [email protected] ; $(_cmd_link.cxx)
cmd_link_so.cxx = echo "$(subst ",\",$(_cmd_link_so.cxx))" > [email protected] ; $(_cmd_link_so.cxx)

cmd_depend.cxx.host = echo "$(_cmd_depend.cxx.host)" > [email protected] ; $(_cmd_depend.cxx.host)
cmd_compile.cxx.host = echo "$(_cmd_compile.cxx.host)" > [email protected]; $(_cmd_compile.cxx.host)
cmd_link.cxx.host = echo "$(_cmd_link.cxx.host)" > [email protected] ; $(_cmd_link.cxx.host)
cmd_link_so.cxx.host = echo "$(_cmd_link_so.cxx.host)" > [email protected]; $(_cmd_link_so.cxx.host)
cmd_depend.cxx.host = echo "$(subst ",\",$(_cmd_depend.cxx.host))" > [email protected] ; $(_cmd_depend.cxx.host)
cmd_compile.cxx.host = echo "$(subst ",\",$(_cmd_compile.cxx.host))" > [email protected]; $(_cmd_compile.cxx.host)
cmd_link.cxx.host = echo "$(subst ",\",$(_cmd_link.cxx.host))" > [email protected] ; $(_cmd_link.cxx.host)
cmd_link_so.cxx.host = echo "$(subst ",\",$(_cmd_link_so.cxx.host))" > [email protected]; $(_cmd_link_so.cxx.host)

cmd_moc.qt = echo "$(_cmd_moc.qt)" > [email protected] ; $(_cmd_moc.qt)
cmd_moc.qt.host = echo "$(_cmd_moc.qt.host)" > [email protected] ; $(_cmd_moc.qt.host)
cmd_moc.qt = echo "$(subst ",\",$(_cmd_moc.qt))" > [email protected] ; $(_cmd_moc.qt)
cmd_moc.qt.host = echo "$(subst ",\",$(_cmd_moc.qt.host))" > [email protected] ; $(_cmd_moc.qt.host)

cmd_uic.qt = echo "$(_cmd_uic.qt)" > [email protected] ; $(_cmd_uic.qt)
cmd_uic.qt.host = echo "$(_cmd_uic.qt.host)" > [email protected] ; $(_cmd_uic.qt.host)
cmd_uic.qt = echo "$(subst ",\",$(_cmd_uic.qt))" > [email protected] ; $(_cmd_uic.qt)
cmd_uic.qt.host = echo "$(subst ",\",$(_cmd_uic.qt.host))" > [email protected] ; $(_cmd_uic.qt.host)

cmd_depend.m = echo "$(_cmd_depend.m)" > [email protected] ; $(_cmd_depend.m)
cmd_compile.m = echo "$(_cmd_compile.m)" > [email protected] ; $(_cmd_compile.m)
cmd_link.m = echo "$(_cmd_link.m)" > [email protected] ; $(_cmd_link.m)
cmd_link_so.m = echo "$(_cmd_link_so.m)" > [email protected] ; $(_cmd_link_so.m)
cmd_depend.m = echo "$(subst ",\",$(_cmd_depend.m))" > [email protected] ; $(_cmd_depend.m)
cmd_compile.m = echo "$(subst ",\",$(_cmd_compile.m))" > [email protected] ; $(_cmd_compile.m)
cmd_link.m = echo "$(subst ",\",$(_cmd_link.m))" > [email protected] ; $(_cmd_link.m)
cmd_link_so.m = echo "$(subst ",\",$(_cmd_link_so.m))" > [email protected] ; $(_cmd_link_so.m)

cmd_depend.m.host = echo "$(_cmd_depend.m.host)" > [email protected] ; $(_cmd_depend.m.host)
cmd_compile.m.host = echo "$(_cmd_compile.m.host)" > [email protected] ; $(_cmd_compile.m.host)
cmd_link.m.host = echo "$(_cmd_link.m.host)" > [email protected] ; $(_cmd_link.m.host)
cmd_link_so.m.host = echo "$(_cmd_link_so.m.host)" > [email protected] ; $(_cmd_link_so.m.host)
cmd_depend.m.host = echo "$(subst ",\",$(_cmd_depend.m.host))" > [email protected] ; $(_cmd_depend.m.host)
cmd_compile.m.host = echo "$(subst ",\",$(_cmd_compile.m.host))" > [email protected] ; $(_cmd_compile.m.host)
cmd_link.m.host = echo "$(subst ",\",$(_cmd_link.m.host))" > [email protected] ; $(_cmd_link.m.host)
cmd_link_so.m.host = echo "$(subst ",\",$(_cmd_link_so.m.host))" > [email protected] ; $(_cmd_link_so.m.host)

cmd_ar = echo "$(_cmd_ar)" > [email protected] ; $(_cmd_ar)
cmd_ranlib = echo "$(_cmd_ranlib)" >> [email protected] ; $(_cmd_ranlib)
cmd_ld = echo "$(_cmd_ld)" > [email protected] ; $(_cmd_ld)
cmd_ar = echo "$(subst ",\",$(_cmd_ar))" > [email protected] ; $(_cmd_ar)
cmd_ranlib = echo "$(subst ",\",$(_cmd_ranlib))" >> [email protected] ; $(_cmd_ranlib)
cmd_ld = echo "$(subst ",\",$(_cmd_ld))" > [email protected] ; $(_cmd_ld)

cmd_ld.host = echo "$(_cmd_ld.host)" > [email protected] ; $(_cmd_ld.host)
cmd_ld.host = echo "$(subst ",\",$(_cmd_ld.host))" > [email protected] ; $(_cmd_ld.host)

cmd_cp = $(_cmd_cp)
cmd_mkdir = $(_cmd_mkdir)
Expand Down Expand Up @@ -583,11 +585,11 @@ do_compile.cxx.host = @$(disp_compile.cxx.host) ; $(MKDIR) $$(dir $$@); $(cmd_co
do_link.cxx.host = @$(disp_link.cxx.host) ; $(MKDIR) $$(dir $$@); $(cmd_link.cxx.host)
do_link_so.cxx.host = @$(disp_link_so.cxx.host) ; $(MKDIR) $$(dir $$@); $(cmd_link_so.cxx.host)

do_moc.qt = @$(disp_moc.qt) ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt)
do_moc.qt.host = @$(disp_moc.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt.host)
do_moc.qt = @$(disp_moc.qt) ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt)
do_moc.qt.host = @$(disp_moc.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_moc.qt.host)

do_uic.qt = @$(disp_uic.qt) ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt)
do_uic.qt.host = @$(disp_uic.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt.host)
do_uic.qt = @$(disp_uic.qt) ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt)
do_uic.qt.host = @$(disp_uic.qt.host ; $(MKDIR) $$(dir $$@); $(cmd_uic.qt.host)

do_depend.m = @$(disp_depend.m) ; $(MKDIR) $$(dir $$@); $(cmd_depend.m)
do_compile.m = @$(disp_compile.m) ; $(MKDIR) $$(dir $$@); $(cmd_compile.m)
Expand Down

0 comments on commit 4a5d609

Please sign in to comment.