From 2ec7f9b30676d0eb2792311e6be969006aeb9a06 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 c42766a..9614ab6 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: -- cgit v1.2.3 From 33c865b2ada281587b8d72d232db277973cf2a1e Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 5 Nov 2019 14:12:27 +0100 Subject: do not add the serial option for vep4600 --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9614ab6..7b31925 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,6 @@ 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 @@ -196,7 +192,7 @@ PACKET-debug: clean prepare .PHONY: vep4600 .ONESHELL: -vep4600: check_build_config clean vep4600_serial prepare +vep4600: 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 -- cgit v1.2.3