diff options
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb | 12 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | 14 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 12 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 10 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2013.07.bb | 18 |
5 files changed, 30 insertions, 36 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb index e6163972dc..d686b33621 100644 --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils-cross_2013.07.bb | |||
| @@ -20,19 +20,19 @@ inherit uboot-config cross | |||
| 20 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' | 20 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' |
| 21 | 21 | ||
| 22 | do_compile () { | 22 | do_compile () { |
| 23 | oe_runmake ${UBOOT_MACHINE} | 23 | oe_runmake ${UBOOT_MACHINE} |
| 24 | oe_runmake env | 24 | oe_runmake env |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | do_install () { | 27 | do_install () { |
| 28 | install -d ${D}${bindir_cross} | 28 | install -d ${D}${bindir_cross} |
| 29 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv | 29 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv |
| 30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv | 30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | SYSROOT_PREPROCESS_FUNCS = "uboot_fw_utils_cross" | 33 | SYSROOT_PREPROCESS_FUNCS = "uboot_fw_utils_cross" |
| 34 | uboot_fw_utils_cross() { | 34 | uboot_fw_utils_cross() { |
| 35 | sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} | 35 | sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 38 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb index 89fed8bee4..8bab432a76 100644 --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | |||
| @@ -20,16 +20,16 @@ EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTSTRIP="true"' | |||
| 20 | inherit uboot-config | 20 | inherit uboot-config |
| 21 | 21 | ||
| 22 | do_compile () { | 22 | do_compile () { |
| 23 | oe_runmake ${UBOOT_MACHINE} | 23 | oe_runmake ${UBOOT_MACHINE} |
| 24 | oe_runmake env | 24 | oe_runmake env |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | do_install () { | 27 | do_install () { |
| 28 | install -d ${D}${base_sbindir} | 28 | install -d ${D}${base_sbindir} |
| 29 | install -d ${D}${sysconfdir} | 29 | install -d ${D}${sysconfdir} |
| 30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv | 30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv |
| 31 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv | 31 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv |
| 32 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config | 32 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb index 93c8102e73..3173b0ac73 100644 --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb +++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | |||
| @@ -17,16 +17,16 @@ S = "${WORKDIR}/git" | |||
| 17 | EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' | 17 | EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' |
| 18 | 18 | ||
| 19 | do_compile () { | 19 | do_compile () { |
| 20 | # Make sure the recompile is OK | 20 | # Make sure the recompile is OK |
| 21 | rm -f ${B}/tools/.depend | 21 | rm -f ${B}/tools/.depend |
| 22 | 22 | ||
| 23 | oe_runmake tools | 23 | oe_runmake tools |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | do_install () { | 26 | do_install () { |
| 27 | install -d ${D}${bindir} | 27 | install -d ${D}${bindir} |
| 28 | install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage | 28 | install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage |
| 29 | ln -sf uboot-mkimage ${D}${bindir}/mkimage | 29 | ln -sf uboot-mkimage ${D}${bindir}/mkimage |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 53c87c28f0..602b71f39d 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
| @@ -3,6 +3,16 @@ HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" | |||
| 3 | SECTION = "bootloaders" | 3 | SECTION = "bootloaders" |
| 4 | PROVIDES = "virtual/bootloader" | 4 | PROVIDES = "virtual/bootloader" |
| 5 | 5 | ||
| 6 | LICENSE = "GPLv2+" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | ||
| 8 | file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab" | ||
| 9 | |||
| 10 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 15 | |||
| 6 | inherit uboot-config deploy | 16 | inherit uboot-config deploy |
| 7 | 17 | ||
| 8 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' | 18 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' |
diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb index f8a88568d2..f07fd7c567 100644 --- a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb | |||
| @@ -1,25 +1,9 @@ | |||
| 1 | require u-boot.inc | 1 | require u-boot.inc |
| 2 | 2 | ||
| 3 | # To build u-boot for your machine, provide the following lines in your machine | ||
| 4 | # config, replacing the assignments as appropriate for your machine. | ||
| 5 | # UBOOT_MACHINE = "omap3_beagle_config" | ||
| 6 | # UBOOT_ENTRYPOINT = "0x80008000" | ||
| 7 | # UBOOT_LOADADDRESS = "0x80008000" | ||
| 8 | |||
| 9 | LICENSE = "GPLv2+" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | ||
| 11 | file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab" | ||
| 12 | |||
| 13 | # This revision corresponds to the tag "v2013.07" | 3 | # This revision corresponds to the tag "v2013.07" |
| 14 | # We use the revision in order to avoid having to fetch it from the repo during parse | 4 | # We use the revision in order to avoid having to fetch it from the repo during parse |
| 15 | SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c" | 5 | SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c" |
| 16 | 6 | ||
| 17 | PV = "v2013.07+git${SRCPV}" | 7 | PV = "v2013.07+git${SRCPV}" |
| 18 | 8 | ||
| 19 | SRC_URI = "git://git.denx.de/u-boot.git;branch=master \ | 9 | SRC_URI += "file://0001-am335x_evm.h-Add-use-DEFAULT_LINUX_BOOT_ENV-environm.patch" |
| 20 | file://0001-am335x_evm.h-Add-use-DEFAULT_LINUX_BOOT_ENV-environm.patch \ | ||
| 21 | " | ||
| 22 | |||
| 23 | S = "${WORKDIR}/git" | ||
| 24 | |||
| 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
