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)
|
|
|
|
cp acrn_tap0.netdev $(OUT_DIR)
|
|
|
|
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
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/acrn_tap0.netdev $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network/50-acrn_tap0.netdev
|
|
|
|
install -p -D -m 0644 $(OUT_DIR)/eth.network $(DESTDIR)/$(SYSTEMD_NETWORKDIR)/systemd/network/50-eth.network
|