summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2020-01-01 08:06:19 +0700
committerGitHub <noreply@github.com>2020-01-01 08:06:19 +0700
commitf3176ed09a2b8e76ae1ef10d94a6fb727a804591 (patch)
tree26edf4e6bc48f3ce45d9e83a009cb5f816a87f67 /Makefile
parentf63d0633728fdea34b067dc98f9582fa053d4eb7 (diff)
parenta7b0d3b4f213b28ae47e83e3f98681a63ca2f55b (diff)
downloadvyos-build-f3176ed09a2b8e76ae1ef10d94a6fb727a804591.tar.gz
vyos-build-f3176ed09a2b8e76ae1ef10d94a6fb727a804591.zip
Merge pull request #76 from DmitriyEshenko/crux-ec-naming
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: