diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-31 18:47:16 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-31 18:47:25 +0100 |
commit | 3a96085b999220c4da0c5ef7d1f7ba26b9ddfb98 (patch) | |
tree | 77f1445aae2e6be5135594e95986b3278bbc061c /package/aboot/src/sdisklabel/Makefile | |
parent | cc28479164b8dc8afd4310716da32f16022f5974 (diff) |
dec-multia: make netboot possible, add aboot bootloader
Diffstat (limited to 'package/aboot/src/sdisklabel/Makefile')
-rw-r--r-- | package/aboot/src/sdisklabel/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/aboot/src/sdisklabel/Makefile b/package/aboot/src/sdisklabel/Makefile new file mode 100644 index 000000000..045fd3920 --- /dev/null +++ b/package/aboot/src/sdisklabel/Makefile @@ -0,0 +1,15 @@ +ifndef ($(CC)) +CC ?= gcc +endif +override CFLAGS += -g -O2 -I../include -Wall $(CPPFLAGS) + +all: sdisklabel swriteboot + +sdisklabel: sdisklabel.o library.o + $(CC) $(LDFLAGS) $(CFLAGS) sdisklabel.o library.o -o sdisklabel + +swriteboot: swriteboot.o library.o + $(CC) $(LDFLAGS) $(CFLAGS) swriteboot.o library.o -o swriteboot + +clean: + rm -f sdisklabel swriteboot *.o |