linux: config: add a date-stamp

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent 32c6cbecbd
commit 8d4e31c944

@ -39,6 +39,8 @@ if [ -f arch/riscv/configs/mpfs_defconfig ] ; then
echo "make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig" echo "make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig"
make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig
./scripts/config --set-str CONFIG_LOCALVERSION "-$(date +%Y%M%d)"
echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig" echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig"
make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig
else else
@ -117,6 +119,8 @@ else
./scripts/config --enable CONFIG_NLS_ISO8859_1 ./scripts/config --enable CONFIG_NLS_ISO8859_1
./scripts/config --enable CONFIG_BLK_DEV_DM ./scripts/config --enable CONFIG_BLK_DEV_DM
./scripts/config --set-str CONFIG_LOCALVERSION "-$(date +%Y%M%d)"
echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig" echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig"
make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig
fi fi

@ -39,6 +39,8 @@ if [ -f arch/riscv/configs/mpfs_defconfig ] ; then
echo "make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig" echo "make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig"
make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig make ARCH=riscv CROSS_COMPILE=${CC} mpfs_defconfig
./scripts/config --set-str CONFIG_LOCALVERSION "-$(date +%Y%M%d)"
echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig" echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig"
make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig
else else
@ -117,6 +119,8 @@ else
./scripts/config --enable CONFIG_NLS_ISO8859_1 ./scripts/config --enable CONFIG_NLS_ISO8859_1
./scripts/config --enable CONFIG_BLK_DEV_DM ./scripts/config --enable CONFIG_BLK_DEV_DM
./scripts/config --set-str CONFIG_LOCALVERSION "-$(date +%Y%M%d)"
echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig" echo "make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig"
make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig make -j${CORES} ARCH=riscv CROSS_COMPILE=${CC} olddefconfig
fi fi

@ -26,7 +26,7 @@ CONFIG_THREAD_INFO_IN_TASK=y
CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set # CONFIG_COMPILE_TEST is not set
# CONFIG_WERROR is not set # CONFIG_WERROR is not set
CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION="-20234919"
# CONFIG_LOCALVERSION_AUTO is not set # CONFIG_LOCALVERSION_AUTO is not set
CONFIG_BUILD_SALT="" CONFIG_BUILD_SALT=""
CONFIG_DEFAULT_INIT="" CONFIG_DEFAULT_INIT=""

Loading…
Cancel
Save