summaryrefslogtreecommitdiff
path: root/recipes-bsp/at91bootstrap/at91bootstrap_3.5.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/at91bootstrap/at91bootstrap_3.5.inc')
-rw-r--r--recipes-bsp/at91bootstrap/at91bootstrap_3.5.inc33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-bsp/at91bootstrap/at91bootstrap_3.5.inc b/recipes-bsp/at91bootstrap/at91bootstrap_3.5.inc
deleted file mode 100644
index 4b3e957..0000000
--- a/recipes-bsp/at91bootstrap/at91bootstrap_3.5.inc
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "at91bootstrap: loaded into internal SRAM by AT91 BootROM"
-SECTION = "bootloaders"
-
-PARALLEL_MAKE = ""
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOY_DIR_IMAGE} REVISION=${PR}"
-
-do_compile () {
- unset LDFLAGS
- unset CFLAGS
- unset CPPFLAGS
-
- # For Newer Yocto/Bitbake, CC does not
- # include the staging directory
- # by default
- CC="${CC} --sysroot=${STAGING_DIR_HOST}"
- LD="${LD} --sysroot=${STAGING_DIR_HOST}"
-
- rm -Rf ${S}/binaries
- for board in ${AT91BOOTSTRAP_BOARD} ; do
- oe_runmake mrproper CC="${CC}" LD="${LD}"
- filename=`find board -name ${board}_defconfig`
- if ! [ "x$filename" == "x" ] ; then
- cp $filename .config
- oe_runmake CC="${CC}" LD="${LD}"
- oe_runmake install
- else
- echo "${board} could not be built"
- exit 1
- fi
- done
-}