From 34db99dbaea41244961eb3eb92d0b990dad51432 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 5 Nov 2019 14:09:41 +0100 Subject: add build option for vep4600 --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7dfed999..07b0d7e5 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 @@ -198,6 +202,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: -- cgit v1.2.3