Your message dated Tue, 07 Oct 2014 00:34:02 +0000
with message-id <e1xbij4-0006v3...@franck.debian.org>
and subject line Bug#763024: fixed in u-boot 2014.10~rc2+dfsg1-2
has caused the Debian Bug report #763024,
regarding u-boot: Build tools out-of-tree too so as not to dirty the source 
used for the actual platforms.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
763024: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763024
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: u-boot
Version: 2014.10~rc2+dfsg1-2~exp1
Severity: minor
Tags: patch

This is a fairly minor annoyance but it's easy to fix, e.g. the attached patch.

Cheers,
Ian.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
armel

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
>From 91b0ef3db5f75c6b08451e92d7487feb5dab5361 Mon Sep 17 00:00:00 2001
From: Ian Campbell <i...@debian.org>
Date: Sat, 27 Sep 2014 09:49:43 +0100
Subject: [PATCH] Build tools out-of-tree too so as not to dirty the source
 used for the actual platforms.

This is a fairly minor annoyance when doing incremental builds for dev.

With this it is no longer required to remove include/config/auto.conf on clean.
---
 debian/changelog            |  7 +++++++
 debian/rules                | 25 +++++++++++++++----------
 debian/u-boot-tools.install | 11 +++++++----
 3 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d14e23..9252c5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+u-boot (2014.10~rc2+dfsg1-2~exp2) UNRELEASED; urgency=medium
+
+  * Build tools out-of-tree too so as not to dirty the source used for the
+    actual platforms.
+
+ -- Ian Campbell <i...@debian.org>  Sat, 27 Sep 2014 09:48:00 +0100
+
 u-boot (2014.10~rc2+dfsg1-2~exp1) experimental; urgency=medium
 
   * Split u-boot package into u-boot-imx, u-boot-omap and u-boot-sunxi
diff --git a/debian/rules b/debian/rules
index 49d2cdb..1dd2bd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@ LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS))
 %:
 	dh $@ --parallel
 
+override_dh_auto_build: TOOLSDIR := `pwd`/debian/build/tools
 override_dh_auto_build:
 	set -e; sed -n 's/^$(DEB_HOST_ARCH)[[:space:]]\+//p' debian/targets \
 	    | while read subarch platform targets; do \
@@ -38,23 +39,27 @@ override_dh_auto_build:
 	done
 
 	# Avoid requirement for .config
-	mkdir -p include/config
-	touch include/config/auto.conf
+	mkdir -p $(TOOLSDIR)/include/config
+	touch $(TOOLSDIR)/include/config/auto.conf
 	# Load dummy config
-	make sandbox_defconfig
+	make O=$(TOOLSDIR) sandbox_defconfig
 	# board-independent tools
-	$(MAKE) $(DEB_UBOOT_FLAGS) HOSTCC=$(CROSS_COMPILE)gcc HOSTSTRIP=$(CROSS_COMPILE)strip \
+	$(MAKE) O=$(TOOLSDIR) $(DEB_UBOOT_FLAGS) \
+		HOSTCC=$(CROSS_COMPILE)gcc \
+		HOSTSTRIP=$(CROSS_COMPILE)strip \
 	    tools-only
-	$(MAKE) $(DEB_UBOOT_FLAGS) HOSTCC=$(CROSS_COMPILE)gcc HOSTSTRIP=$(CROSS_COMPILE)strip env
-	$(CROSS_COMPILE)strip --remove-section=.comment tools/env/fw_printenv
-	$(CROSS_COMPILE)strip --remove-section=.comment tools/mkimage
-	$(CROSS_COMPILE)strip --remove-section=.comment tools/kwboot
-	$(CROSS_COMPILE)strip --remove-section=.comment tools/mksunxiboot
+	$(MAKE) O=$(TOOLSDIR) $(DEB_UBOOT_FLAGS) \
+		HOSTCC=$(CROSS_COMPILE)gcc \
+		HOSTSTRIP=$(CROSS_COMPILE)strip \
+	    env
+	$(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/env/fw_printenv
+	$(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/mkimage
+	$(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/kwboot
+	$(CROSS_COMPILE)strip --remove-section=.comment $(TOOLSDIR)/tools/mksunxiboot
 
 override_dh_auto_test:
 	# skip tests.
 
 override_dh_clean:
 	rm -rf debian/build/
-	rm -f include/config/auto.conf
 	dh_clean
diff --git a/debian/u-boot-tools.install b/debian/u-boot-tools.install
index 11a34c3..5cd1662 100755
--- a/debian/u-boot-tools.install
+++ b/debian/u-boot-tools.install
@@ -1,8 +1,11 @@
 #!/bin/sh
-echo tools/mkimage /usr/bin/
-echo tools/mksunxiboot /usr/bin/
-echo tools/kwboot /usr/bin/
-echo tools/env/fw_printenv /usr/bin/
+
+builddir=debian/build/tools
+
+echo ${builddir}/tools/mkimage /usr/bin/
+echo ${builddir}/tools/mksunxiboot /usr/bin/
+echo ${builddir}/tools/kwboot /usr/bin/
+echo ${builddir}/tools/env/fw_printenv /usr/bin/
 echo doc/mkimage.1 /usr/share/man/man1/
 
 # manpages
-- 
2.1.0


--- End Message ---
--- Begin Message ---
Source: u-boot
Source-Version: 2014.10~rc2+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
u-boot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 763...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@debian.org> (supplier of updated u-boot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 06 Oct 2014 16:58:04 -0700
Source: u-boot
Binary: u-boot u-boot-imx u-boot-omap u-boot-sunxi u-boot-tools
Architecture: source
Version: 2014.10~rc2+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Vagrant Cascadian <vagr...@debian.org>
Changed-By: Vagrant Cascadian <vagr...@debian.org>
Description:
 u-boot     - A boot loader for embedded systems
 u-boot-imx - A boot loader for imx systems
 u-boot-omap - A boot loader for omap systems
 u-boot-sunxi - A boot loader for sunxi systems
 u-boot-tools - companion tools for Das U-Boot bootloader
Closes: 750108 763024 764069
Changes:
 u-boot (2014.10~rc2+dfsg1-2) unstable; urgency=medium
 .
   [ Héctor Orón Martínez ]
   * Fix cross building.
   * Build extra tools for kirkwood and sunxi (Closes: #750108).
   * Build extra tools and env just once, and install in PATH again.
   * Add nitrogen6q support to u-boot-imx.
 .
   [ Vagrant Cascadian ]
   * Use "make all" instead of making individual targets, recording a list
     of targets to install in each subarch package.
   * Build FEL variants for all sunxi platforms, based on patches from Ian
     Campbell.
   * Add build-depends on "bc".
   * Patch to add the debian revision to the U-boot version.
   * Updated cubox-i patches and re-enable mx6_cubox-i target.
   * Build tools and env with NO_SDL=1 to avoid complaining about missing
     sdl-config.
   * Remove mips target dbau1100, an old platform with no testers.
   * Swich qemu_mips target to install u-boot.bin, which is what is
     actually needed by qemu.
   * Add patch to Set DCDC1 DDR3 to 1.35V for Beaglebone Black. Thanks to
     Robert Nelson for the patch.
 .
   [ Ian Campbell ]
   * Add patch to add u-boot.kwb to "make all" on Kirkwood platforms.
   * Build tools out-of-tree too so as not to dirty the source used for the
     actual platforms (Closes: #763024).
   * Add patch to initialize scsi before trying scsi disks in
     config_distro_bootcmd (Closes: #764069).
Checksums-Sha1:
 3a0a3e5c79f240204519de127524d1fe4c85e4ce 2245 u-boot_2014.10~rc2+dfsg1-2.dsc
 e8d2f906b683ae9a4d220263dcb95ef432c5840b 41000 
u-boot_2014.10~rc2+dfsg1-2.debian.tar.xz
Checksums-Sha256:
 e2031185d423edbf07b986eab8d17ace608fd7eed941e78299fe0883b3d77edf 2245 
u-boot_2014.10~rc2+dfsg1-2.dsc
 d2d18a24137b335817f407d6e1984d9a03a6e56883b60392dbf4e56a2c806645 41000 
u-boot_2014.10~rc2+dfsg1-2.debian.tar.xz
Files:
 d497295b83616002159147bc9d137b4d 2245 admin optional 
u-boot_2014.10~rc2+dfsg1-2.dsc
 da7f254e5d3dda5e20905116277c05a5 41000 admin optional 
u-boot_2014.10~rc2+dfsg1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUMy00AAoJELeLgtSBS5G2GlwP/3snIzFhTrQz3uJRNnnYP76Z
NrhrhrUJgNxF9xuvsd2q9fhI5tiY82dESWLYw70i9U/DSQ97VAuw8bS4o0g2frE+
oG40ZI4njNRB/wxJr25s/qiUm0SsqpEvjjD8cGwGGaPpWgV7CWo7YZ/yGmGLCZGS
nESybKm3QXuS2mnBH4I5wJbulB6sArCfAZ1sSCBjy7gEJn0l7iTWtQvFANiQ/5dN
KSuYCOzq016R7da65uMW6vnZt0o3mUa6FfQSuHlUzRBWnzt0fs0fAdDlNlQP529F
jW21kaVgYSDIXxFa5Fcrd4ek2oUa8tEpEAaP4YTuCcV9bnlpAzSQO0NHGYF5DqEN
TiCz2oQZ9k/Sx0aeQzxik5dmIaewkB9iMkC1wkvHt0TBOXQ1rs0OmWxXGWuMGCJo
cSPFgkCN9tnqM8PxjztQqiSO+2TeT3bhvsMYB/VsiMmXmu9pJ0WQzqzrgY3yQvw1
d6RdxqGyxd0pQiWGBEQvOj9nwb0JgeUceg8hPa3pD2lc1pd3khWkf8Ho2kY3FjXj
QN73ZbZvMO4edaJ9Xyr8epfjlgHGWjSlGJfmjKFh0NmzUT3xNrfrPRC6PgvSYsTp
Ie3scK0ee5TeVfn3jk0k51JjWX2WHTMnmh5omAHcriDhqYW43u1LbTDfUw8j1TPw
7hDov96MUsvEMj/yrbTo
=aNVN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to