Browse Source

barebox-sysmocom: remove 201407 recipe

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
neels/inmarsat
Jan Luebbe 6 years ago
committed by Holger Hans Peter Freyther
parent
commit
3ddf763457
  1. 30
      recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb
  2. 26
      recipes-sysmobts/barebox/barebox-sysmocom_201407.bb
  3. 49
      recipes-sysmobts/barebox/barebox.inc

30
recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb

@ -1,30 +0,0 @@
PROVIDES = ""
SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master"
SRCREV = "9bd8556fcf45b83f880fbb1cdb7c614b940d7272"
PR = "r2"
COMPATIBLE_MACHINE="sysmocom-odu"
S = "${WORKDIR}/git"
BAREBOX_BINARY_OE ?= "barebox-mlo-${MACHINE}-${PV}-${PR}.bin"
BAREBOX_BINARY_SYMLINK ?= "barebox-mlo-${MACHINE}.bin"
BAREBOX_IMAGE ?= "images/barebox-am33xx-phytec-phycore-mlo.img"
BAREBOX_IMAGE_OE ?= "barebox-mlo-${MACHINE}-${PV}-${PR}.img"
BAREBOX_IMAGE_SYMLINK ?= "barebox-mlo-${MACHINE}.img"
require barebox.inc
do_pre_configure() {
cp ${S}/arch/arm/configs/am335x_mlo_odu_defconfig ${S}/.config
oe_runmake oldconfig
}
do_deploy_append() {
install ${S}/${BAREBOX_IMAGE} ${DEPLOY_DIR_IMAGE}/${BAREBOX_IMAGE_OE}
cd ${DEPLOY_DIR_IMAGE}
rm -f ${BAREBOX_IMAGE_SYMLINK}
ln -sf ${BAREBOX_IMAGE_OE} ${BAREBOX_IMAGE_SYMLINK}
}

26
recipes-sysmobts/barebox/barebox-sysmocom_201407.bb

@ -1,26 +0,0 @@
SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master"
SRCREV = "9bd8556fcf45b83f880fbb1cdb7c614b940d7272"
PR = "r2"
DEPENDS = "${PN}-mlo"
COMPATIBLE_MACHINE="sysmocom-odu"
S = "${WORKDIR}/git"
BAREBOX_IMAGE ?= "images/barebox-am33xx-phytec-phycore.img"
BAREBOX_IMAGE_OE ?= "barebox-${MACHINE}-${PV}-${PR}.img"
BAREBOX_IMAGE_SYMLINK ?= "barebox-${MACHINE}.img"
require barebox.inc
do_pre_configure() {
cp ${S}/arch/arm/configs/am335x_odu_defconfig ${S}/.config
oe_runmake oldconfig
}
do_deploy_append() {
install ${S}/${BAREBOX_IMAGE} ${DEPLOY_DIR_IMAGE}/${BAREBOX_IMAGE_OE}
cd ${DEPLOY_DIR_IMAGE}
rm -f ${BAREBOX_IMAGE_SYMLINK}
ln -sf ${BAREBOX_IMAGE_OE} ${BAREBOX_IMAGE_SYMLINK}
}

49
recipes-sysmobts/barebox/barebox.inc

@ -1,49 +0,0 @@
DESCRIPTION = "Barebox - a bootloader that inherits the best of U-Boot and the Linux kernel"
HOMEPAGE = "http://www.barebox.org/"
SECTION = "bootloader"
PROVIDES ?= "virtual/bootloader"
PRIORITY = "optional"
LICENSE = "GPLv2"
DEPENDS += "lzop-native"
LIC_FILES_CHKSUM = "file://COPYING;md5=057bf9e50e1ca857d0eb97bfe4ba8e5d"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PV = "201407+git${SRCPV}"
inherit kernel-arch
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
BAREBOX_BINARY ?= "barebox.bin"
BAREBOX_BINARY_OE ?= "barebox-${MACHINE}-${PV}-${PR}.bin"
BAREBOX_BINARY_SYMLINK ?= "barebox-${MACHINE}.bin"
INSANE_SKIP_${PN} = "True"
addtask pre_configure before do_configure after do_patch
do_compile () {
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
oe_runmake all
}
do_deploy () {
install -d ${DEPLOY_DIR_IMAGE}
install ${S}/${BAREBOX_BINARY} ${DEPLOY_DIR_IMAGE}/${BAREBOX_BINARY_OE}
cd ${DEPLOY_DIR_IMAGE}
rm -f ${BAREBOX_BINARY_SYMLINK}
ln -sf ${BAREBOX_BINARY_OE} ${BAREBOX_BINARY_SYMLINK}
install -d ${STAGING_BINDIR_NATIVE}
cd ${S}
install -m 755 scripts/mkimage ${STAGING_BINDIR_NATIVE}/
install -m 755 scripts/bareboxenv ${STAGING_BINDIR_NATIVE}/
}
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
Loading…
Cancel
Save