ffce535003
For use by packages or post-build/image scripts to fake the current time for obnoxious programs that insists on adding a timestamp. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
584 B
Makefile
21 lines
584 B
Makefile
################################################################################
|
|
#
|
|
# libfaketime
|
|
#
|
|
################################################################################
|
|
|
|
FAKETIME_VERSION = v0.9.6
|
|
FAKETIME_SITE = $(call github,wolfcw,libfaketime,$(FAKETIME_VERSION))
|
|
FAKETIME_LICENSE = GPLv2
|
|
FAKETIME_LICENSE_FILES = COPYING
|
|
|
|
define HOST_FAKETIME_BUILD_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr
|
|
endef
|
|
|
|
define HOST_FAKETIME_INSTALL_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|