Skip to content
Snippets Groups Projects
Commit 4b4d4552 authored by Michal Sojka's avatar Michal Sojka
Browse files

rootfs: Add make install target to install files for NFS server

parent e865a82c
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ MAKEFLAGS += --no-print-directory
.PHONY: all $(MAKECMDGOALS)
all := $(filter-out all Makefile,$(MAKECMDGOALS))
all := $(filter-out all Makefile install,$(MAKECMDGOALS))
all:
$(MAKE) $(MAKEARGS) $(all)
......@@ -22,3 +22,7 @@ $(all): all
%/: all
@:
install:
install -d -m 755 $(DESTDIR)/srv/nfs/ryu-rootfs
tar -C $(DESTDIR)/srv/nfs/ryu-rootfs -xf images/rootfs.tar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment