From 3a96085b999220c4da0c5ef7d1f7ba26b9ddfb98 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 31 Dec 2017 18:47:16 +0100 Subject: dec-multia: make netboot possible, add aboot bootloader --- package/aboot/src/tools/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/aboot/src/tools/Makefile (limited to 'package/aboot/src/tools/Makefile') diff --git a/package/aboot/src/tools/Makefile b/package/aboot/src/tools/Makefile new file mode 100644 index 000000000..740b9cb9d --- /dev/null +++ b/package/aboot/src/tools/Makefile @@ -0,0 +1,22 @@ +ifndef ($(CC)) +CC = gcc +endif +override CFLAGS = -g -O2 -Wall -I. -I../include $(CPPFLAGS) +override LDFLAGS = -g +override PGMS += e2writeboot abootconf elfencap objstrip + +EXEC_PREFIX = /usr + +all: $(PGMS) + +install: $(PGMS) + install -c -o root -g root -m 755 $(PGMS) $(EXEC_PREFIX)/bin + +clean: + rm -f *~ *.o *.a core $(PGMS) + +isomarkboot: isomarkboot.o ../lib/isolib.o +e2writeboot: e2writeboot.o e2lib.o bio.o + +e2writeboot.o: e2lib.h +e2lib.o: e2lib.h -- cgit v1.2.3