mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
Define date of build as DATE, use in mtd/mtd.mk
This commit is contained in:
parent
c0c804da6e
commit
7def55591d
1
Makefile
1
Makefile
@ -25,6 +25,7 @@ TOPDIR=./
|
|||||||
CONFIG_CONFIG_IN = Config.in
|
CONFIG_CONFIG_IN = Config.in
|
||||||
CONFIG_DEFCONFIG = .defconfig
|
CONFIG_DEFCONFIG = .defconfig
|
||||||
CONFIG = package/config
|
CONFIG = package/config
|
||||||
|
DATE:=$(shell date -u +%Y%m%d)
|
||||||
|
|
||||||
noconfig_targets := menuconfig config oldconfig randconfig \
|
noconfig_targets := menuconfig config oldconfig randconfig \
|
||||||
defconfig allyesconfig allnoconfig release tags \
|
defconfig allyesconfig allnoconfig release tags \
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
ifeq ($(strip $(BR2_PACKAGE_MTD_SNAPSHOT)),y)
|
ifeq ($(strip $(BR2_PACKAGE_MTD_SNAPSHOT)),y)
|
||||||
# Be aware that this changes daily....
|
# Be aware that this changes daily....
|
||||||
TODAY:=$(shell date -u +%Y%m%d)
|
|
||||||
MTD_DL_SOURCE:=mtd-snapshot-$(TODAY).tar.bz2
|
MTD_DL_SOURCE:=mtd-snapshot-$(DATE).tar.bz2
|
||||||
MTD_CAT:=$(BZCAT)
|
MTD_CAT:=$(BZCAT)
|
||||||
MTD_SOURCE:=mtd-snapshot.tar.bz2
|
MTD_SOURCE:=mtd-snapshot.tar.bz2
|
||||||
MTD_SITE:=ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs
|
MTD_SITE:=ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user