From b57ffefea0106c907798011f6cae8d95cf6aad34 Mon Sep 17 00:00:00 2001 From: geoff Date: Wed, 26 Aug 2009 22:09:23 +0000 Subject: [PATCH] petitboot: Automate PACKAGE_VERSION Make a default petitboot PACKAGE_VERSION based on the build machine HOSTNAME and the date. Signed-off-by: Geoff Levand git-svn-id: svn://svn.openwrt.org/openwrt/packages@17414 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/petitboot/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/petitboot/Makefile b/utils/petitboot/Makefile index d4cdeae44..9022c1f23 100644 --- a/utils/petitboot/Makefile +++ b/utils/petitboot/Makefile @@ -70,7 +70,8 @@ petitboot-install-autorun-$(CONFIG_PETITBOOT_AUTORUN_CUI) = \ petitboot-install-autorun-$(CONFIG_PETITBOOT_AUTORUN_GUI) = \ ln -sf pb-twin $(1)/usr/sbin/petitboot -CONFIGURE_ARGS += $(petitboot-config-args-y) +CONFIGURE_ARGS += $(petitboot-config-args-y) \ + PACKAGE_VERSION=$(shell echo ${HOSTNAME})-$(shell date +%y.%m.%d-%H.%M) EXTRA_CPPFLAGS += $(petitboot-cppflags-y)