Mercurial > hg > Members > tobaru > CbC_xv6
comparison src/makefile-armclang @ 16:7eb81a3c4b29
kernel.elf
author | tobaru |
---|---|
date | Tue, 20 Feb 2018 18:12:18 +0900 |
parents | 02a1ce33746e |
children | c0f6f3eb25ae |
comparison
equal
deleted
inserted
replaced
15:0983f02ed21b | 16:7eb81a3c4b29 |
---|---|
7 LD = arm-linux-gnu-ld | 7 LD = arm-linux-gnu-ld |
8 OBJCOPY = arm-linux-gnu-objcopy | 8 OBJCOPY = arm-linux-gnu-objcopy |
9 OBJDUMP = arm-linux-gnu-objdump | 9 OBJDUMP = arm-linux-gnu-objdump |
10 | 10 |
11 # CFLAGS = -march=armv6 -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -Werror -I. -g -O0 | 11 # CFLAGS = -march=armv6 -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -Werror -I. -g -O0 |
12 CFLAGS = -target armv6-arm-none-eabi -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -I. -I ../cbclang/arm -g -O0 | 12 CFLAGS = -target arm-linux-gnueabihf -march=armv7a -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -I. -I ../cbclang/arm -g -O0 |
13 LDFLAGS = -L. | 13 LDFLAGS = --noinhibit-exec |
14 # ASFLAGS = -march=armv6 | 14 # ASFLAGS = -march=armv6 |
15 ASFLAGS = -target armv6-arm-none-eabi | 15 ASFLAGS = -target arm-linux-gnueabihf |
16 | 16 |
17 LIBGCC = $(shell $(CC) -print-libgcc-file-name) | 17 LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) |
18 | 18 |
19 # link the libgcc.a for __aeabi_idiv. ARM has no native support for div | 19 # link the libgcc.a for __aeabi_idiv. ARM has no native support for div |
20 LIBS = $(LIBGCC) | 20 LIBS =/net/open/RaspberryPi/rasbian-img/usr/lib/gcc/arm-linux-gnueabihf/6/libgcc.a |
21 | |
21 | 22 |
22 OBJS = \ | 23 OBJS = \ |
23 lib/string.o \ | 24 lib/string.o \ |
24 \ | 25 \ |
25 arm.o\ | 26 arm.o\ |