Signed-off-by: Remy Bohmer <[email protected]> --- ...f8dcdbe5c690c-compiler.h-add-uint-typedef.patch | 26 ++++++++++++++++++++ patches/u-boot-mkimage-2010.03/series | 1 + rules/host-umkimage.make | 4 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 patches/u-boot-mkimage-2010.03/b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch create mode 100644 patches/u-boot-mkimage-2010.03/series
diff --git a/patches/u-boot-mkimage-2010.03/b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch b/patches/u-boot-mkimage-2010.03/b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch new file mode 100644 index 0000000..f20a663 --- /dev/null +++ b/patches/u-boot-mkimage-2010.03/b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch @@ -0,0 +1,26 @@ +commit b050c72d52c4e30d5b978ab6758f8dcdbe5c690c +Author: Mike Frysinger <[email protected]> +Date: Tue Apr 20 05:49:30 2010 -0400 + + compiler.h: add uint typedef + + Recent crc changes started using the "uint" type in headers that are used + on the build system. This subsequently broke mingw targets as they do not + provide such a type. So add this basic typedef to compiler.h so that we + do not have to worry about this breaking again in the future. + + Signed-off-by: Mike Frysinger <[email protected]> + Signed-off-by: Remy Bohmer <[email protected]> + +diff --git a/include/compiler.h b/include/compiler.h +index 332618e..8030bf6 100644 +--- a/include/compiler.h ++++ b/include/compiler.h +@@ -55,6 +55,7 @@ typedef unsigned int uint; + typedef uint8_t __u8; + typedef uint16_t __u16; + typedef uint32_t __u32; ++typedef unsigned int uint; + + #define uswap_16(x) \ + ((((x) & 0xff00) >> 8) | \ diff --git a/patches/u-boot-mkimage-2010.03/series b/patches/u-boot-mkimage-2010.03/series new file mode 100644 index 0000000..dbf4bb4 --- /dev/null +++ b/patches/u-boot-mkimage-2010.03/series @@ -0,0 +1 @@ +b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch diff --git a/rules/host-umkimage.make b/rules/host-umkimage.make index b56857d..69b1904 100644 --- a/rules/host-umkimage.make +++ b/rules/host-umkimage.make @@ -17,9 +17,9 @@ HOST_PACKAGES-$(PTXCONF_HOST_UMKIMAGE) += host-umkimage # # Paths and names # -HOST_UMKIMAGE_VERSION := 1.1.6 +HOST_UMKIMAGE_VERSION := 2010.03 HOST_UMKIMAGE := u-boot-mkimage-$(HOST_UMKIMAGE_VERSION) -HOST_UMKIMAGE_SUFFIX := tar.bz2 +HOST_UMKIMAGE_SUFFIX := tar.gz HOST_UMKIMAGE_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(HOST_UMKIMAGE).$(HOST_UMKIMAGE_SUFFIX) HOST_UMKIMAGE_SOURCE := $(SRCDIR)/$(HOST_UMKIMAGE).$(HOST_UMKIMAGE_SUFFIX) HOST_UMKIMAGE_DIR := $(HOST_BUILDDIR)/$(HOST_UMKIMAGE) -- 1.7.0.4 -- ptxdist mailing list [email protected]
