diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-11-05 14:09:41 +0100 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-11-05 14:09:41 +0100 |
commit | 2ec7f9b30676d0eb2792311e6be969006aeb9a06 (patch) | |
tree | 268545cb6b11e0c1ffae1a24fba89cdfe4042d1a /Makefile | |
parent | ef8d9f1ef6553801cbba3ff19e3944f926ba9c79 (diff) | |
download | vyos-build-2ec7f9b30676d0eb2792311e6be969006aeb9a06.tar.gz vyos-build-2ec7f9b30676d0eb2792311e6be969006aeb9a06.zip |
add build option for vep4600
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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: |