blob: ac147c000212eee2e414d71f4d0e8855f9b4d19b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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
rm -Rf ${S}/binaries
for board in ${AT91BOOTSTRAP_BOARD} ; do
oe_runmake mrproper
filename=`find board -name ${board}_defconfig`
if ! [ "x$filename" == "x" ] ; then
cp $filename .config
oe_runmake
oe_runmake install
else
echo "${board} could not be built"
exit 1
fi
done
}
|