History

Merge tag 'kbuild-v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull more Kbuild updates from Masahiro Yamada: - fix build rules in binderfs sample - fix build errors when Kbuild recurses to the top Makefile - covert '---help---' in Kconfig to 'help' * tag 'kbuild-v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: treewide: replace '---help---' in Kconfig files with 'help' kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables samples: binderfs: really compile this sample and fix build issues

Linus Torvalds committed 6 years ago

Commit 6adc19f2 parents 3df83e1 a7f7f62439 files · +2473 −2489Browse files

Showing the changes to scripts (3 of 439 files). Show all

Unified · Split

3 files
  1. scripts/Makefile.lib +3 −3
  2. scripts/Makefile.package +3 −3
  3. scripts/package/buildtar +2 −2
scripts/Makefile.lib+3−3
@@ -254,7 +254,7 @@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ · 253 unmodified lines
254254 # ---------------------------------------------------------------------------
255255
256256 quiet_cmd_gzip = GZIP $@
257− cmd_gzip = cat $(real-prereqs) | $(_GZIP) -n -f -9 > $@
257+ cmd_gzip = cat $(real-prereqs) | $(KGZIP) -n -f -9 > $@
258258
259259 # DTC
260260 # ---------------------------------------------------------------------------
@@ -347,7 +347,7 @@ printf "%08x\n" $$dec_size | \ · 86 unmodified lines
347347 )
348348
349349 quiet_cmd_bzip2 = BZIP2 $@
350− cmd_bzip2 = { cat $(real-prereqs) | $(_BZIP2) -9; $(size_append); } > $@
350+ cmd_bzip2 = { cat $(real-prereqs) | $(KBZIP2) -9; $(size_append); } > $@
351351
352352 # Lzma
353353 # ---------------------------------------------------------------------------
@@ -356,7 +356,7 @@ quiet_cmd_lzma = LZMA $@ · 2 unmodified lines
356356 cmd_lzma = { cat $(real-prereqs) | $(LZMA) -9; $(size_append); } > $@
357357
358358 quiet_cmd_lzo = LZO $@
359− cmd_lzo = { cat $(real-prereqs) | $(_LZOP) -9; $(size_append); } > $@
359+ cmd_lzo = { cat $(real-prereqs) | $(KLZOP) -9; $(size_append); } > $@
360360
361361 quiet_cmd_lz4 = LZ4 $@
362362 cmd_lz4 = { cat $(real-prereqs) | $(LZ4) -l -c1 stdin stdout; \
scripts/Makefile.package+3−3
@@ -45,7 +45,7 @@ if test "$(objtree)" != "$(srctree)"; then \ · 44 unmodified lines
4545 false; \
4646 fi ; \
4747 $(srctree)/scripts/setlocalversion --save-scmversion; \
48−tar -I $(_GZIP) -c $(RCS_TAR_IGNORE) -f $(2).tar.gz \
48+tar -I $(KGZIP) -c $(RCS_TAR_IGNORE) -f $(2).tar.gz \
4949 --transform 's:^:$(2)/:S' $(TAR_CONTENT) $(3); \
5050 rm -f $(objtree)/.scmversion
5151
@@ -127,8 +127,8 @@ util/PERF-VERSION-GEN $(CURDIR)/$(perf-tar)/); \ · 75 unmodified lines
127127 tar rf $(perf-tar).tar $(perf-tar)/HEAD $(perf-tar)/PERF-VERSION-FILE; \
128128 rm -r $(perf-tar); \
129129 $(if $(findstring tar-src,$@),, \
130−$(if $(findstring bz2,$@),$(_BZIP2), \
131−$(if $(findstring gz,$@),$(_GZIP), \
130+$(if $(findstring bz2,$@),$(KBZIP2), \
131+$(if $(findstring gz,$@),$(KGZIP), \
132132 $(if $(findstring xz,$@),$(XZ), \
133133 $(error unknown target $@)))) \
134134 -f -9 $(perf-tar).tar)
scripts/package/buildtar+2−2
@@ -28,11 +28,11 @@ case "${1}" in · 27 unmodified lines
2828 opts=
2929 ;;
3030 targz-pkg)
31− opts="-I ${_GZIP}"
31+ opts="-I ${KGZIP}"
3232 tarball=${tarball}.gz
3333 ;;
3434 tarbz2-pkg)
35− opts="-I ${_BZIP2}"
35+ opts="-I ${KBZIP2}"
3636 tarball=${tarball}.bz2
3737 ;;
3838 tarxz-pkg)