]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - rootfs/build/GNUmakefile
rootfs: Add make install target to install files for NFS server
[can-benchmark.git] / rootfs / build / GNUmakefile
1 # Automatically generated by /home/wsh/src/buildroot/support/scripts/mkmakefile: don't edit
2
3 lastword = $(word $(words $(1)),$(1))
4 makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))
5
6 MAKEARGS := -C ../buildroot
7 MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))
8
9 MAKEFLAGS += --no-print-directory
10
11 .PHONY: all $(MAKECMDGOALS)
12
13 all     := $(filter-out all Makefile install,$(MAKECMDGOALS))
14
15 all:
16         $(MAKE) $(MAKEARGS) $(all)
17
18 Makefile:;
19
20 $(all): all
21         @:
22
23 %/: all
24         @:
25
26 install:
27         install -d -m 755 $(DESTDIR)/srv/nfs/ryu-rootfs
28         tar -C $(DESTDIR)/srv/nfs/ryu-rootfs -xf images/rootfs.tar