pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot make the pylibfdt module build verbose...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f0c34913a37
branches:  trunk
changeset: 402292:8f0c34913a37
user:      bad <bad%pkgsrc.org@localhost>
date:      Sun Oct 06 14:01:20 2019 +0000

description:
make the pylibfdt module build verbose if KBUILD_VERBOSE != 0.

diffstat:

 sysutils/u-boot/distinfo                                    |   3 +-
 sysutils/u-boot/patches/patch-scripts_dtc_pylibfdt_Makefile |  26 +++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r e8f8c497c20d -r 8f0c34913a37 sysutils/u-boot/distinfo
--- a/sysutils/u-boot/distinfo  Sun Oct 06 13:46:01 2019 +0000
+++ b/sysutils/u-boot/distinfo  Sun Oct 06 14:01:20 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2019/10/06 13:25:24 bad Exp $
+$NetBSD: distinfo,v 1.27 2019/10/06 14:01:20 bad Exp $
 
 SHA1 (u-boot-2018.11.tar.bz2) = e58e86c633ad3e2613196e0c0b0a7760ae5966d6
 RMD160 (u-boot-2018.11.tar.bz2) = f63c67750951d0e2883935a5d4cc3252f51a5453
@@ -22,4 +22,5 @@
 SHA1 (patch-lib_bch.c) = b1f1c7418f1004c151b9e5e06ab7047a1736ae47
 SHA1 (patch-lib_efi__loader_efi__boottime.c) = 66aa3b95470a737154e6e082447aed0078092047
 SHA1 (patch-lib_efi__loader_efi__variable.c) = 1955870b22e358a4bded9e85fd89c74419aeed0d
+SHA1 (patch-scripts_dtc_pylibfdt_Makefile) = e312a372e393332191e715934279eb5e049ba008
 SHA1 (patch-tools_imx__cntr__image.sh) = 715647e3b77b505513ae79b4fe673f4f7f9bf042
diff -r e8f8c497c20d -r 8f0c34913a37 sysutils/u-boot/patches/patch-scripts_dtc_pylibfdt_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot/patches/patch-scripts_dtc_pylibfdt_Makefile       Sun Oct 06 14:01:20 2019 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-scripts_dtc_pylibfdt_Makefile,v 1.1 2019/10/06 14:01:20 bad Exp $
+
+--- scripts/dtc/pylibfdt/Makefile.orig 2018-11-14 16:10:06.000000000 +0000
++++ scripts/dtc/pylibfdt/Makefile
+@@ -13,6 +13,12 @@ include $(LIBFDT_srcdir)/Makefile.libfdt
+ PYLIBFDT_srcs = $(addprefix $(LIBFDT_srcdir)/,$(LIBFDT_SRCS)) \
+               $(obj)/libfdt.i
+ 
++ifeq ($(KBUILD_VERBOSE),0)
++  pymod_quiet_flag = --quiet
++else
++  pymod_quiet_flag =
++endif
++
+ quiet_cmd_pymod = PYMOD   $@
+       cmd_pymod = unset CROSS_COMPILE; unset CFLAGS; \
+               CC="$(HOSTCC)" LDSHARED="$(HOSTCC) -shared " \
+@@ -21,7 +27,7 @@ quiet_cmd_pymod = PYMOD   $@
+               CPPFLAGS="$(HOSTCFLAGS) -I$(LIBFDT_srcdir)" OBJDIR=$(obj) \
+               SOURCES="$(PYLIBFDT_srcs)" \
+               SWIG_OPTS="-I$(LIBFDT_srcdir) -I$(LIBFDT_srcdir)/.." \
+-              $(PYTHON) $< --quiet build_ext --inplace
++              $(PYTHON) $< $(pymod_quiet_flag) build_ext --inplace
+ 
+ $(obj)/_libfdt.so: $(src)/setup.py $(PYLIBFDT_srcs) FORCE
+       $(call if_changed,pymod)



Home | Main Index | Thread Index | Old Index