mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 18:23:12 +00:00
make: add nsdax source to install-scripts target
nsdax.gpl.c is required by image_builder.sh Fixes: #283 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
parent
d5fbd1c25f
commit
0013352d9b
9
Makefile
9
Makefile
@ -98,9 +98,10 @@ SCRIPTS += rootfs-builder/rootfs.sh
|
|||||||
SCRIPTS += image-builder/image_builder.sh
|
SCRIPTS += image-builder/image_builder.sh
|
||||||
SCRIPTS += initrd-builder/initrd_builder.sh
|
SCRIPTS += initrd-builder/initrd_builder.sh
|
||||||
|
|
||||||
FILES :=
|
HELPER_FILES :=
|
||||||
FILES += rootfs-builder/versions.txt
|
HELPER_FILES += rootfs-builder/versions.txt
|
||||||
FILES += scripts/lib.sh
|
HELPER_FILES += scripts/lib.sh
|
||||||
|
HELPER_FILES += image-builder/nsdax.gpl.c
|
||||||
|
|
||||||
define INSTALL_FILE
|
define INSTALL_FILE
|
||||||
echo "Installing $(abspath $2/$1)";
|
echo "Installing $(abspath $2/$1)";
|
||||||
@ -117,7 +118,7 @@ install-scripts:
|
|||||||
@echo "Installing scripts"
|
@echo "Installing scripts"
|
||||||
@$(foreach f,$(SCRIPTS),$(call INSTALL_SCRIPT,$f,$(INSTALL_DIR)))
|
@$(foreach f,$(SCRIPTS),$(call INSTALL_SCRIPT,$f,$(INSTALL_DIR)))
|
||||||
@echo "Installing helper files"
|
@echo "Installing helper files"
|
||||||
@$(foreach f,$(FILES),$(call INSTALL_FILE,$f,$(INSTALL_DIR)))
|
@$(foreach f,$(HELPER_FILES),$(call INSTALL_FILE,$f,$(INSTALL_DIR)))
|
||||||
@echo "Installing installing config files"
|
@echo "Installing installing config files"
|
||||||
@$(foreach f,$(DIST_CONFIGS),$(call INSTALL_FILE,$f,$(INSTALL_DIR)))
|
@$(foreach f,$(DIST_CONFIGS),$(call INSTALL_FILE,$f,$(INSTALL_DIR)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user