From 56af769f3a02791d67d367a2dc1187d1bc61d1c8 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Sat, 11 May 2019 20:27:42 +0200 Subject: add a simple Makefile to create an alternate /opt file system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8a7381f --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright(c) 2019 Bjørn Mork + +FILES=version opt.local + +all: opt.squashfs + +version: dcs8000lh-configure.py + sed -ne 's/"//g' -e 's/^VERSION *= *//p' dcs8000lh-configure.py >$@ + +opt.squashfs: $(FILES) + mksquashfs $(FILES) $@ -all-root -comp xz -- cgit v1.2.3