2018-06-08 10:58:18 +08:00
|
|
|
|
|
|
|
OUT_DIR ?= .
|
|
|
|
SYSTEMD_NETWORKDIR := usr/lib
|
|
|
|
|
|
|
|
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:
|
|
|
|
install -d $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network
|
2018-06-12 15:03:16 +08:00
|
|
|
install -p -D -m 0644 $(OUT_DIR)/acrn.netdev $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network/50-acrn.netdev
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/acrn.network $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network/50-acrn.network
|
2019-04-08 16:22:54 +08:00
|
|
|
install -p -D -m 0644 $(OUT_DIR)/tap0.netdev $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network/50-tap0.netdev
|
2018-06-12 15:03:16 +08:00
|
|
|
install -p -D -m 0644 $(OUT_DIR)/eth.network $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network/50-eth.network
|