summaryrefslogtreecommitdiff
path: root/package/aboot/src/tools/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-31 18:47:16 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-31 18:47:25 +0100
commit3a96085b999220c4da0c5ef7d1f7ba26b9ddfb98 (patch)
tree77f1445aae2e6be5135594e95986b3278bbc061c /package/aboot/src/tools/Makefile
parentcc28479164b8dc8afd4310716da32f16022f5974 (diff)
dec-multia: make netboot possible, add aboot bootloader
Diffstat (limited to 'package/aboot/src/tools/Makefile')
-rw-r--r--package/aboot/src/tools/Makefile22
1 files changed, 22 insertions, 0 deletions
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