mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
ports: hook to filter content of noux install
The new variable 'INSTALL_TAR_CONTENT' allows one to customize the content of the generated tar archive instead of including the entire install directory.
This commit is contained in:
parent
6b89eaaf79
commit
f148388227
@ -36,8 +36,13 @@ PKG ?= $(TARGET)
|
||||
# 'make install' rule is created. By setting the 'INSTALL_TREE' variable
|
||||
# to a non-empty value, a symlink to the actual file tree is created.
|
||||
#
|
||||
# By default, the generated tar archive contains the entire content of the
|
||||
# package's install directory. The 'INSTALL_TAR_CONTENT' variable may be
|
||||
# overriden to manually specify only the parts of the content.
|
||||
#
|
||||
INSTALL_TREE ?=
|
||||
INSTALL_TAR_ARCHIVE ?= yes
|
||||
INSTALL_TAR_CONTENT ?= .
|
||||
|
||||
LIBS += posix
|
||||
|
||||
@ -202,7 +207,7 @@ installed_tree.tag: installed.tag
|
||||
# via the VFS tar file system
|
||||
#
|
||||
installed_tar.tag: installed.tag
|
||||
$(VERBOSE)tar cf $(TARGET).tar -h -C $(PWD)/install .
|
||||
$(VERBOSE)tar cf $(TARGET).tar -h -C $(PWD)/install $(INSTALL_TAR_CONTENT)
|
||||
$(VERBOSE)rm -f $(INSTALL_DIR)/$(TARGET)
|
||||
$(VERBOSE)ln -sf $(PWD)/$(TARGET).tar $(INSTALL_DIR)/$(TARGET).tar
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user