summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2019-12-31 21:32:37 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2019-12-31 21:32:37 +0000
commita7b0d3b4f213b28ae47e83e3f98681a63ca2f55b (patch)
tree26edf4e6bc48f3ce45d9e83a009cb5f816a87f67 /Makefile
parentb5a162ce77027ec438ec37b66c87748954031d72 (diff)
downloadvyos-build-a7b0d3b4f213b28ae47e83e3f98681a63ca2f55b.tar.gz
vyos-build-a7b0d3b4f213b28ae47e83e3f98681a63ca2f55b.zip
Create common build for Dell VEP1400/4600 devices
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1d6dc15..30d5fbb9 100644
--- a/Makefile
+++ b/Makefile
@@ -241,6 +241,19 @@ edgecore: check_build_config clean prepare
cd ..
@scripts/copy-image
+.PHONY: dell
+.ONESHELL:
+dell: 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/lib/udev/rules.d/
+ cp tools/vendors_udev/64-vyos-VEP4600-net.rules build/config/includes.chroot/lib/udev/rules.d/
+ cp tools/vendors_udev/64-vyos-VEP1400-net.rules build/config/includes.chroot/lib/udev/rules.d/
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: clean
.ONESHELL:
clean: