summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c42766a4..9614ab67 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@ all:
check_build_config:
@scripts/check-config
+.PHONY: vep4600_serial
+vep4600_serial:
+ sed -i 's/union=overlay/union=overlay console=ttyS0,115200n8/g' scripts/live-build-config
+
.PHONY: prepare
prepare:
@set -e
@@ -190,6 +194,19 @@ PACKET-debug: clean prepare
cd ..
@scripts/copy-image
+.PHONY: vep4600
+.ONESHELL:
+vep4600: check_build_config clean vep4600_serial 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
+ cp tools/vep4600/90-vep4600.chroot build/config/hooks/live/
+ cp tools/vep4600/*.link build/config/includes.chroot/etc/systemd/network
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: clean
.ONESHELL:
clean: