From 8d3da190caaba1a94739b1f5cb8f0a35ef4474ed Mon Sep 17 00:00:00 2001 From: Eshenko Dmitriy Date: Sun, 24 Nov 2019 22:50:46 +0300 Subject: Add build option for Edge-Core SAF51003L --- Makefile | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index aac46e89..6842ee00 100644 --- a/Makefile +++ b/Makefile @@ -238,6 +238,21 @@ saf51015I: check_build_config clean prepare cd .. @scripts/copy-image +.PHONY: saf51003I +.ONESHELL: +saf51003I: 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 + mkdir -p build/config/includes.chroot/usr/share/initramfs-tools/hooks + cp tools/saf51003I/90-saf51003I.chroot build/config/hooks/live/ + cp tools/saf51003I/*.link build/config/includes.chroot/etc/systemd/network/ + cp tools/saf51003I/saf51003I build/config/includes.chroot/usr/share/initramfs-tools/hooks/ + cd $(build_dir) + lb build 2>&1 | tee build.log + cd .. + @scripts/copy-image + .PHONY: test .ONESHELL: test: @@ -247,6 +262,15 @@ test: fi scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso +.PHONY: test +.ONESHELL: +test-no-interfaces: + if [ ! -f build/live-image-amd64.hybrid.iso ]; then + echo "Could not find build/live-image-amd64.hybrid.iso" + exit 1 + fi + scripts/check-qemu-install --debug --no-interfaces build/live-image-amd64.hybrid.iso + .PHONY: testd .ONESHELL: testd: @@ -265,8 +289,6 @@ testc: fi scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso -======= ->>>>>>> a46cc51... add build option for Edge-Core saf51015I .PHONY: clean .ONESHELL: clean: @@ -286,7 +308,6 @@ clean: rm -f *.mf rm -f *.ovf rm -f *.ova - rm -f *.vmdk .PHONY: purge purge: -- cgit v1.2.3