From 0fc310a55a8e978f0f2b676fbd21ada6e06653a5 Mon Sep 17 00:00:00 2001 From: John Rigby Date: Thu, 5 Aug 2010 22:55:11 -0600 Subject: LINARO: Initial Linaro U-Boot tree Initial Linaro u-boot tree based on Upstream v2010.06-265-gcdb7497 A series of patches from ssakomans exp branch that add support for beagle C4 and xM. These have been rebased onto current upstream. The gitorious beagle trees are still based on v2010.03. These patches will be replaced with patches from ssakoman. Two versatile express patches from Matt Waddel. Debian packaging by John Rigby based on the lucid u-boot-omap3 package. Currently builds u-boot binaries for these platforms: ca9x4_ct_vxp aka Versatile Express mx51evk aka Babbage omap4_panda omap3_beagle Signed-off-by: John Rigby --- debian/README.source | 17 +++++++++++++++++ debian/changelog | 24 +++++++++++++++++++++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 45 ++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 45 ++++++++++++++++++++++++++++++++++++++++++++ debian/u-boot-linaro.install | 1 + 7 files changed, 148 insertions(+) create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/u-boot-linaro.install diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 000000000..f3efd0421 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,17 @@ +x-loader for Debian +------------------- + + + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. Please see: + + /usr/share/doc/quilt/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. + + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..f90f3d99a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,24 @@ +u-boot-linaro (v2010.06-265-gcdb7497-linaro-1) maverick; urgency=low + + * Initial Linaro u-boot tree based on + + * Upstream v2010.06-265-gcdb7497 + + * A series of patches from ssakomans exp branch that add + support for beagle C4 and xM. These have been rebased + onto current upstream. The gitorious beagle trees are + still based on v2010.03. These patches will be replaced + with patches from ssakoman. + + * Versatile express patches from Matt Waddel. + + * Debian packaging by John Rigby based on the lucid + u-boot-omap3 package. + + * Currently builds u-boot binaries for these platforms + ca9x4_ct_vxp aka Versatile Express + mx51evk aka Babbage + omap4_panda + omap3_beagle + + -- John Rigby Fri, 06 Aug 2010 16:20:43 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..48f140746 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: u-boot-linaro +Section: misc +Priority: extra +Maintainer: John Rigby +Build-Depends: quilt (>= 0.46-7~), debhelper (>= 7.0.50~) +Standards-Version: 3.8.4 + +Package: u-boot-linaro +Architecture: armel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: U-Boot bootloader configured for various ARM SOCs + This package contains the U-Boot bootloader for various ARM SOCs, + which is responsible for loading and executing the Linux kernel on those + boards. This package contains the u-boot binary blob, and is not usually + needed on a normal system diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..5821835e0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,45 @@ +This work was packaged for Debian by: + + Oliver Grawert on Mon, 22 Mar 2010 15:06:23 +0200 + +It was downloaded from: + + http://gitorious.org/u-boot-omap3/mainline/commits/master + +Upstream Authors: + + Wolfgang Denk, DENX Software Engineering, wd@denx.de. + Steve Sakoman + +Copyright: + + Copyright (C) 2000-2010 + Wolfgang Denk, DENX Software Engineering, wd@denx.de. + +License: + + This package 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 package 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. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2010 Oliver Grawert + +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. diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..5b61ff6de --- /dev/null +++ b/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f + +# the upstream build passes LDFLAGS directly to ld instead of calling gcc for +# linking; so instead of passing -Wl,foo in LDFLAGS as in automake builds, one +# should set LDFLAGS to foo directly +comma := , +LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS)) + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)- +endif +#export DH_VERBOSE=1 +#export DH_OPTIONS=-v + +PLATFORMS= \ + ca9x4_ct_vxp \ + mx51evk \ + omap3_beagle \ + omap4_panda + +%: + dh --with quilt $@ + +override_dh_auto_configure: + @ + +override_dh_auto_clean: + $(MAKE) distclean + rm -rf debian/build + +override_dh_auto_build: + for plat in $(PLATFORMS); do \ + $(MAKE) O=debian/build/$$plat mrproper; \ + $(MAKE) O=debian/build/$$plat $${plat}_config; \ + $(MAKE) O=debian/build/$$plat; \ +# mkdir -p debian/build/$$plat; touch debian/build/$$plat/u-boot.bin; \ + done + +override_dh_auto_install: + for plat in $(PLATFORMS); do \ + install -D -m644 debian/build/$$plat/u-boot.bin debian/tmp/usr/lib/u-boot/u-boot-$$plat.bin; \ + done diff --git a/debian/u-boot-linaro.install b/debian/u-boot-linaro.install new file mode 100644 index 000000000..e0c4ce9ce --- /dev/null +++ b/debian/u-boot-linaro.install @@ -0,0 +1 @@ +usr/lib/u-boot -- cgit v1.2.3