2021-01-23 06:00:38 +08:00
|
|
|
include ../../../paths.make
|
2018-06-08 10:58:18 +08:00
|
|
|
|
|
|
|
OUT_DIR ?= .
|
|
|
|
|
|
|
|
all:
|
|
|
|
cp acrn.netdev $(OUT_DIR)
|
|
|
|
cp acrn.network $(OUT_DIR)
|
2019-04-08 16:22:54 +08:00
|
|
|
cp tap0.netdev $(OUT_DIR)
|
2018-06-08 10:58:18 +08:00
|
|
|
cp eth.network $(OUT_DIR)
|
|
|
|
|
|
|
|
install:
|
2019-12-26 16:24:20 +08:00
|
|
|
install -d $(DESTDIR)$(systemd_unitdir)/network
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/acrn.netdev $(DESTDIR)$(systemd_unitdir)/network/50-acrn.netdev
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/acrn.network $(DESTDIR)$(systemd_unitdir)/network/50-acrn.network
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/tap0.netdev $(DESTDIR)$(systemd_unitdir)/network/50-tap0.netdev
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/eth.network $(DESTDIR)$(systemd_unitdir)/network/50-eth.network
|