aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2010-08-25 14:13:06 -0600
committerEric Miao <eric.miao@linaro.org>2011-03-07 22:53:09 +0800
commit7eca9e489a21d656a45452692b67e2eaefb58ac8 (patch)
tree2b1613c7092c392cae96afc103c961c0a3d23a78
parentd0f1fa06b3b6561114e1083cb27b0f8a56bd8938 (diff)
downloadu-boot-linaro-natty-7eca9e489a21d656a45452692b67e2eaefb58ac8.tar.gz
LINARO: Build one deb per target
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--debian/control39
-rwxr-xr-xdebian/rules18
2 files changed, 42 insertions, 15 deletions
diff --git a/debian/control b/debian/control
index 8d8f451e3..bd9e58d50 100644
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,38 @@ Maintainer: John Rigby <john.rigby@linaro.org>
Build-Depends: quilt (>= 0.46-7~), debhelper (>= 7.0.50~), rsync
Standards-Version: 3.8.4
-Package: u-boot-linaro
+Package: u-boot-linaro-omap3-beagle
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
+Description: U-Boot bootloader binary for various TI OMAP3 Beagle boards
+ This package contains the U-Boot bootloader 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
+
+Package: u-boot-linaro-omap4-panda
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the TI OMAP4 Panda board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-mx51evk
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the Freescale i.MX51 mx51evk (Babbage) board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
+
+Package: u-boot-linaro-ca9x4-ct-vxp
+Architecture: armel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: U-Boot bootloader binary for the ARM ca9x4_ct_vxp (Versatile Express) board
+ This package contains the U-Boot bootloader which is responsible for
+ loading and executing the Linux kernel on this board. This package
+ contains the u-boot binary blob, and is not usually needed on a normal
+ system
diff --git a/debian/rules b/debian/rules
index 20f0e7598..365d34c4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,10 +16,10 @@ endif
#export DH_OPTIONS=-v
PLATFORMS_AND_TARGETS= \
- ca9x4_ct_vxp u-boot.bin\
- mx51evk u-boot.imx\
- omap3_beagle u-boot.bin\
- omap4_panda u-boot.bin
+ ca9x4_ct_vxp u-boot.bin ca9x4-ct-vxp\
+ mx51evk u-boot.imx mx51evk\
+ omap3_beagle u-boot.bin omap3-beagle\
+ omap4_panda u-boot.bin omap4-panda
%:
dh --with quilt $@
@@ -35,8 +35,8 @@ override_dh_auto_clean:
# removes all *.bin files in the tree so we use rsync to make
# a copy of the tree for each platform
override_dh_auto_build:
- echo $(PLATFORMS_AND_TARGETS)| xargs -n 2 | \
- while read plat target; do \
+ echo $(PLATFORMS_AND_TARGETS)| xargs -n 3 | \
+ while read plat target deb; do \
mkdir -p debian/build/$$plat; \
rsync -a --exclude=debian * debian/build/$$plat; \
$(MAKE) -C debian/build/$$plat $${plat}_config; \
@@ -44,7 +44,7 @@ override_dh_auto_build:
done
override_dh_auto_install:
- echo $(PLATFORMS_AND_TARGETS) | xargs -n 2 | \
- while read plat target; do \
- install -D -m644 debian/build/$$plat/$$target debian/tmp/usr/lib/u-boot/$$plat/$$target; \
+ echo $(PLATFORMS_AND_TARGETS) | xargs -n 3 | \
+ while read plat target deb; do \
+ install -D -m644 debian/build/$$plat/$$target debian/u-boot-linaro-$$deb/usr/lib/u-boot/$$plat/$$target; \
done