summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEshenko Dmitriy <dmitriy.eshenko@vyos.io>2019-11-24 22:50:46 +0300
committerChristian Poessinger <christian@poessinger.com>2019-11-24 20:50:46 +0100
commit69c5c6ff71ee92e1c1873bfbf2d98ba2a1717290 (patch)
treebd673af727753b276a1e2a6ffb4fe83d0d6e4614 /Makefile
parent2e3bac5a0879ba1bc52d05758532c244c9773b10 (diff)
downloadvyos-build-69c5c6ff71ee92e1c1873bfbf2d98ba2a1717290.tar.gz
vyos-build-69c5c6ff71ee92e1c1873bfbf2d98ba2a1717290.zip
Add build option for Edge-Core SAF51003L
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 832c794f..df94c35a 100644
--- a/Makefile
+++ b/Makefile
@@ -228,6 +228,21 @@ saf51015I: check_build_config clean prepare
cd ..
@scripts/copy-image
+.PHONY: saf51003I
+.ONESHELL:
+saf51003I: check_build_config clean prepare
+ @set -e
+ @echo "It's not like I'm building this specially for you or anything!"
+ mkdir -p build/config/includes.chroot/etc/systemd/network
+ mkdir -p build/config/includes.chroot/usr/share/initramfs-tools/hooks
+ cp tools/saf51003I/90-saf51003I.chroot build/config/hooks/live/
+ cp tools/saf51003I/*.link build/config/includes.chroot/etc/systemd/network/
+ cp tools/saf51003I/saf51003I build/config/includes.chroot/usr/share/initramfs-tools/hooks/
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: clean
.ONESHELL:
clean: