python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / boot / lpc32xxcdl / lpc32xxcdl-2.11-compiler_name.patch
blob6aecbdeba62d0ccabf9e47f8a90f6185ee46249a
1 Use CROSS_COMPILE as compiler name and stop using libc
3 Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
4 ---
5 makerule/lpc32xx/make.lpc32xx.gnu | 22 +++++++++++-----------
6 1 files changed, 11 insertions(+), 11 deletions(-)
8 diff --git a/makerule/lpc32xx/make.lpc32xx.gnu b/makerule/lpc32xx/make.lpc32xx.gnu
9 index 1014c28..3277d99 100644
10 --- a/makerule/lpc32xx/make.lpc32xx.gnu
11 +++ b/makerule/lpc32xx/make.lpc32xx.gnu
12 @@ -27,19 +27,19 @@ CFLAGS += -mno-sched-prolog -fno-hosted -mno-thumb-interwork -ffunction-sectio
13 CFLAGS += -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
14 AFLAGS = -mcpu=arm926ej-s
15 AFLAGS += -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
16 -CC = arm-none-eabi-gcc
17 -AS = arm-none-eabi-as
18 -AR = arm-none-eabi-ar -r
19 -LD = arm-none-eabi-gcc
20 -NM = arm-none-eabi-nm
21 -OBJDUMP = arm-none-eabi-objdump
22 -OBJCOPY = arm-none-eabi-objcopy
23 -READELF = arm-none-eabi-readelf
24 +CC = $(CROSS_COMPILE)gcc
25 +AS = $(CROSS_COMPILE)as
26 +AR = $(CROSS_COMPILE)ar -r
27 +LD = $(CROSS_COMPILE)gcc
28 +NM = $(CROSS_COMPILE)nm
29 +OBJDUMP = $(CROSS_COMPILE)objdump
30 +OBJCOPY = $(CROSS_COMPILE)objcopy
31 +READELF = $(CROSS_COMPILE)readelf
32 LDFLAGS += -Wl,--gc-sections
34 LK = -static
35 LK += -Wl,--start-group $(TARGET_CSP_LIB) $(TARGET_BSP_LIB) $(TARGET_GEN_LIB)
36 -LK += -lgcc -lc -lg -lm -lstdc++ -lsupc++
37 +LK += -nostdlib -lgcc #-lc -lg -lm -lstdc++ -lsupc++
38 LK += -Wl,--end-group
39 MAP = -Xlinker -Map -Xlinker
40 LDESC = -Xlinker -T
41 @@ -47,6 +47,6 @@ ENTRY = -e
42 BIN = -bin
43 EXT = .elf
44 LEXT =
45 -ELFTOREC =arm-none-eabi-objcopy -O srec --strip-all --verbose
46 -ELFTOBIN =arm-none-eabi-objcopy -I elf32-littlearm -O binary --strip-all --verbose
47 +ELFTOREC = $(OBJCOPY) -O srec --strip-all --verbose
48 +ELFTOBIN = $(OBJCOPY) -I elf32-littlearm -O binary --strip-all --verbose
49 REC =.srec
50 --
51 1.7.7.3