From: Baikal Electronics Date: Mon, 26 Sep 2022 00:05:16 +0000 (+0300) Subject: Replace DATE with more representative DATETIME variable X-Git-Tag: baikal/mips/sdk6.1~22 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=61d678727cb4ec73a6424d56f4a04894cf65b0d8;p=openembedded-baikal.git Replace DATE with more representative DATETIME variable --- diff --git a/meta-baikal/recipes-bsp/u-boot/u-boot-environment.inc b/meta-baikal/recipes-bsp/u-boot/u-boot-environment.inc index 34d3d47..9116dcc 100644 --- a/meta-baikal/recipes-bsp/u-boot/u-boot-environment.inc +++ b/meta-baikal/recipes-bsp/u-boot/u-boot-environment.inc @@ -8,8 +8,10 @@ ENV_SIZE = "0x10000" UBOOT_DEF_ENV = "${MACHINE}.def-2022" do_build_baikal_environment () { - sed -e "s/build_date=.*$/build_date=${DATE}/; s/build_target=.*$/build_target=${MACHINE}/; s/^\s*#.*$//; /^$/d; " \ + sed -e "s/build_date=.*$/build_date=${DATETME}/; s/build_target=.*$/build_target=${MACHINE}/; s/^\s*#.*$//; /^$/d; " \ ${BOOTROM_DIR}/${UBOOT_DEF_ENV} > ${WORKDIR}/${MACHINE}.env uboot-mkenvimage -s ${ENV_SIZE} -o ${WORKDIR}/${MACHINE}.bin ${WORKDIR}/${MACHINE}.env } addtask build_baikal_environment before do_install after do_compile + +do_build_baikal_environment[vardepsexclude] = "DATETIME"