initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 4ad8932f93c490d15586b1def3863e9580e6eceb Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Sat, 3 Dec 2016 13:51:50 +0000
|
||||
Subject: [PATCH] remove dependency check on version file
|
||||
|
||||
$(VERSION_DEPS) includes dependencies from tzdata meaning applications
|
||||
such as zic can't build from tzcode on their own. Remove the dependency
|
||||
to $(VERSION_DEPS) since it is not necessary to check for version updates
|
||||
in released code. This solves building zic from tzcode without needing
|
||||
tzdata.
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1b714a8..00d2c09 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -587,7 +587,7 @@ INSTALL: ALL install date.1
|
||||
# Otherwise, use $(VERSION) unless it is "unknown" and there is already
|
||||
# a 'version' file, in which case reuse the existing 'version' contents
|
||||
# and append "-dirty" if the contents do not already end in "-dirty".
|
||||
-version: $(VERSION_DEPS)
|
||||
+version:
|
||||
{ (type git) >/dev/null 2>&1 && \
|
||||
V=`git describe --match '[0-9][0-9][0-9][0-9][a-z]*' \
|
||||
--abbrev=7 --dirty` || \
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# From https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html
|
||||
sha512 5f6bf1b508434842eb9dacacc744b5f3375c35b88e401ef372b5fde80ad2f523484fe52a6e99460e402230406ebf6a9261a97efde45a610f8e8085893d55c4ed tzcode2020f.tar.gz
|
||||
# Locally computed:
|
||||
sha256 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE
|
||||
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# zic
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZIC_VERSION = 2020f
|
||||
ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz
|
||||
ZIC_SITE = https://www.iana.org/time-zones/repository/releases
|
||||
ZIC_STRIP_COMPONENTS = 0
|
||||
ZIC_LICENSE = Public domain
|
||||
ZIC_LICENSE_FILES = LICENSE
|
||||
|
||||
define HOST_ZIC_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic
|
||||
endef
|
||||
|
||||
define HOST_ZIC_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/sbin/zic
|
||||
$(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/include/tzfile.h
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
|
||||
ZIC = $(HOST_DIR)/sbin/zic
|
||||
Reference in New Issue
Block a user