diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2018-03-30 11:39:33 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2018-03-30 11:39:33 -0400 |
commit | 769b3dbcea116b83f913a6aae00b4e43633be82c (patch) | |
tree | c9590a05c17cb7ca115c4e1053e4366edecff7a7 /Makefile | |
parent | 234beaee5de14a601af3eef97f291cddfe5d1b80 (diff) |
new initrd format, 2nd layer for keypad
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -21,7 +21,7 @@ CROSS = arm-none-eabi- CC = gcc AS = as -AR = ar +AR = tools/rba OBJCOPY = objcopy STRIP = strip @@ -46,11 +46,10 @@ INITRD = initrd.img all: $(OUT) -#@$(CROSS)$(STRIP) --only-keep-debug $(OUT) $(OUT): $(OFILES) initrd/init libinterp.a @echo " INITRD " $(INITRD) @rm -f $(INITRD) - @$(CROSS)$(AR) r $(INITRD) initrd/* + @$(AR) $(INITRD) initrd/* @$(CROSS)$(OBJCOPY) -B arm -I binary -O elf32-littlearm $(INITRD) out/initrd.img.o @echo " LINK " $(OUT) @$(CROSS)$(CC) $(CFLAGS) $(LFLAGS) out/*.o -o $(OUT) -L. -linterp -lm |