summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2018-06-06 17:35:02 +0200
committerRoland Hieber <r.hieber@pengutronix.de>2018-06-07 16:42:20 +0200
commitf9123797c5ec3fbfe41842f116062af80bb4e3e8 (patch)
treed057ee90a8f0a5bb20c7a49057cd07a6affbf8d3
parentcd4320e3e86bd2ab7b4a19016ef8df6c5d69a5a5 (diff)
downloadbarebox-f9123797c5ec3fbfe41842f116062af80bb4e3e8.tar.gz
barebox-f9123797c5ec3fbfe41842f116062af80bb4e3e8.tar.xz
debian: add packages for host toolsdebian/2018.05.0-1
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
-rw-r--r--debian/barebox-host-tools.install2
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control41
-rw-r--r--debian/copyright72
-rw-r--r--debian/gbp.conf5
-rw-r--r--debian/imx-usb-loader.copyright44
-rw-r--r--debian/imx-usb-loader.install1
-rw-r--r--debian/omap-usb-loader.copyright28
-rw-r--r--debian/omap-usb-loader.install2
-rwxr-xr-xdebian/rules27
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
13 files changed, 233 insertions, 0 deletions
diff --git a/debian/barebox-host-tools.install b/debian/barebox-host-tools.install
new file mode 100644
index 0000000000..7c6c368a34
--- /dev/null
+++ b/debian/barebox-host-tools.install
@@ -0,0 +1,2 @@
+scripts/bareboxenv usr/bin
+scripts/bareboximd usr/bin
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000000..8a7028b9f0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+barebox (2018.05.0-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #900958)
+ * Only the separately usable host tools are packaged for now.
+
+ -- Roland Hieber <r.hieber@pengutronix.de> Thu, 07 Jun 2018 15:28:17 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000000..b4de394767
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000000..ac284768a0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: barebox
+Section: devel
+Priority: optional
+Maintainer: Roland Hieber <r.hieber@pengutronix.de>
+Build-Depends: debhelper (>= 11~), gcc-arm-linux-gnueabihf
+Standards-Version: 4.1.4
+Homepage: https://barebox.org
+Vcs-browser: https://git.pengutronix.de/cgit/debian/barebox
+Vcs-Git: git://git.pengutronix.de/barebox
+
+Package: barebox-host-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: various embedded development tools from the barebox source tree
+ barebox is a boot loader for booting Linux on embedded systems. Its source tree
+ also includes various helpers and tools for embedded development that are used
+ on the host machines. This package contains some of them:
+ .
+ - bareboxenv: generate or read a barebox environment archive
+ - bareboximd: Extract metadata from a barebox image
+
+Package: imx-usb-loader
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: USB image loader for i.MX series processors
+ This utility allows you to download and execute code on Freescale i.MX and
+ Vybrid SoCs through the Serial Download Protocol (SDP). It supports USB and
+ UART.
+ .
+ imx-usb-loader is maintained as part of barebox, a boot loader for booting
+ Linux on embedded systems.
+
+Package: omap-usb-loader
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: USB image loader for OMAP3 and OMAP4 processors
+ This package includes the utilities omap3-usb-loader and omap4_usbboot, which
+ allow you to download and execute code on OMAP3 and OMAP 4 processors.
+ .
+ They are maintained as part of barebox, a boot loader for booting Linux on
+ embedded systems.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000000..3a6db141cc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,72 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: barebox
+Upstream-Contact: barebox@lists.infradead.org
+Source: https://www.barebox.org/
+
+Files: *
+Copyright: no copyright information given
+License: GPL-2+
+Comment: as per COPYING in the root project directory
+
+Files: include/image.h
+Copyright: 2000-2005 Wolfgang Denk, DENX Software Engineering, wd@denx.de
+License: GPL-2+ with exception
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ ********************************************************************
+ * NOTE: This header file defines an interface to barebox. Including
+ * this (unmodified) header file in another file is considered normal
+ * use of barebox, and does *not* fall under the heading of "derived
+ * work".
+ ********************************************************************
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General Public
+ License, version 2, can be found in `/usr/share/common-licenses/GPL-2'.
+
+Files: scripts/bareboximd.c
+Copyright: (C) Copyright 2014 Sascha Hauer, Pengutronix
+License: GPL-2+
+
+Files: scripts/bareboxenv.c
+Copyright: (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General Public
+ License, version 2, can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public
+ License, version 2.2, can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000000..fc493ead02
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+upstream-tag = v%(version)s
+
+[buildpackage]
+export-dir=../builds
diff --git a/debian/imx-usb-loader.copyright b/debian/imx-usb-loader.copyright
new file mode 100644
index 0000000000..57d3754c1c
--- /dev/null
+++ b/debian/imx-usb-loader.copyright
@@ -0,0 +1,44 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: barebox
+Upstream-Contact: barebox@lists.infradead.org
+Source: https://www.barebox.org/
+
+Files: scripts/imx/imx.c
+Copyright: 2016 Sascha Hauer, Pengutronix
+License: GPL-2+
+
+Files: scripts/imx/imx-usb-loader.c
+Copyright: Code originally written by Eric Nelson
+License: LGPL-2.1+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General Public
+ License, version 2, can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public
+ License, version 2.2, can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/imx-usb-loader.install b/debian/imx-usb-loader.install
new file mode 100644
index 0000000000..2c374a75e0
--- /dev/null
+++ b/debian/imx-usb-loader.install
@@ -0,0 +1 @@
+scripts/imx/imx-usb-loader usr/bin
diff --git a/debian/omap-usb-loader.copyright b/debian/omap-usb-loader.copyright
new file mode 100644
index 0000000000..0d89f35b5b
--- /dev/null
+++ b/debian/omap-usb-loader.copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: barebox
+Upstream-Contact: barebox@lists.infradead.org
+Source: https://www.barebox.org/
+
+Files: scripts/omap3-usb-loader.c
+Copyright:
+ Copyright (C) 2008 Martin Mueller <martinmm@pfump.org>
+ Copyright (C) 2014 Grant Hernandez <grant.h.hernandez@gmail.com>
+License: GPL-2+
+
+Files: scripts/omap4_usbboot.c
+Copyright: no copyright information given in file
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General Public
+ License, version 2, can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/omap-usb-loader.install b/debian/omap-usb-loader.install
new file mode 100644
index 0000000000..811038607a
--- /dev/null
+++ b/debian/omap-usb-loader.install
@@ -0,0 +1,2 @@
+scripts/omap3-usb-loader usr/bin
+scripts/omap4_usbboot usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000000..4395be3b8f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE =1
+
+%:
+ dh $@
+
+# not all tools are built in all configs... :-/
+# some files in scripts/ depend on the target compiler
+HOST_EXTRACFLAGS = "-g"
+override_dh_auto_build:
+ # imx-usb-loader, and the non-arch-dependent tools
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- imx_v7_defconfig
+ echo CONFIG_ARCH_IMX_USBLOADER=y >> .config
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- oldconfig
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- HOST_EXTRACFLAGS="-g" -j scripts/
+ #
+ # omap3-usb-loader
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap3530_beagle_xload_defconfig
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- oldconfig
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- HOST_EXTRACFLAGS="-g" -j scripts/
+ #
+ # omap4_usbboot
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- archosg9_defconfig
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- oldconfig
+ $(MAKE) ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- HOST_EXTRACFLAGS="-g" -j scripts/
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000000..163aaf8d82
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000000..436b86c7aa
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+# watch control file for uscan
+version=4
+https://www.barebox.org/download/barebox@ANY_VERSION@@ARCHIVE_EXT@