mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 18:18:54 +00:00
base/global.mk: TAR_OPT
Add TAR_OPT to global.mk that defaults to user and group 1, while setting mtime to 0 for tar archives. This can be used in components to produce consistent (reproducible) tar archives. issue #5255
This commit is contained in:
parent
943dfa10e7
commit
ddcfe51ef5
@ -244,6 +244,11 @@ LD_SCRIPT_SO ?= $(BASE_DIR)/src/ld/genode_rel.ld
|
||||
#
|
||||
AS_OPT += $(AS_MARCH)
|
||||
|
||||
#
|
||||
# Default tar options
|
||||
#
|
||||
TAR_OPT ?= --owner=1 --group=1 --mtime=@0
|
||||
|
||||
ALL_INC_DIR := .
|
||||
ALL_INC_DIR += $(INC_DIR)
|
||||
ALL_INC_DIR += $(foreach DIR,$(REP_INC_DIR), $(foreach REP,$(REPOSITORIES),$(REP)/$(DIR)))
|
||||
|
Loading…
Reference in New Issue
Block a user