source: clfs-embedded/patches/colo-1.22-make_fix-1.patch@ 964fe7d

Last change on this file since 964fe7d was a4733fb, checked in by Jim Gifford <clfs@…>, 16 years ago

File Size Updates. Typo Fixes

  • Property mode set to 100644
File size: 2.7 KB
  • chain/Makefile

    Submitted By: Joe Ciccone <joeciccone@crazyeyesoft.com>
    Date: 2005-11-23
    Initial Package Version: 1.19
    Upstream Status: Sent
    Origin: Joe Ciccone <joeciccone@crazyeyesoft.com
    Description: Adds flags to the stage1, stage2, and chain Makefiles
                 forcing them to build as 32bit.
    
    	     2-2-06 Updated for Colo 1.21 
    diff -Naur colo-1.21.orig/chain/Makefile colo-1.21/chain/Makefile
    old new  
    1818
    1919DEPS=$(OBJS:.o=.d)
    2020
    21 LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
    22 CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
    23 CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
     21LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
     22CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
     23CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
    2424
    2525all:
    2626        $(MAKE) -C .. binary
  • stage1/Makefile

    diff -Naur colo-1.21.orig/stage1/Makefile colo-1.21/stage1/Makefile
    old new  
    2121
    2222DEPS=$(OBJS:.o=.d)
    2323
    24 LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
    25 CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
    26 CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
     24LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map
     25CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
     26CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
    2727
    2828all:
    2929        $(MAKE) -C .. binary
  • stage2/Makefile

    diff -Naur colo-1.21.orig/stage2/Makefile colo-1.21/stage2/Makefile
    old new  
    5454
    5555DEPS=$(OBJS:.o=.d)
    5656
    57 LDFLAGS= -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map,--emit-relocs
    58 CFLAGS= -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
    59 CPPFLAGS= -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
     57LDFLAGS= -mabi=32 -nostdlib -Wl,-T,$(TARG).lnk,-Map,$(TARG).map,--emit-relocs
     58CFLAGS= -mabi=32 -Werror -Wall -Wstrict-prototypes -fomit-frame-pointer -O2 -fno-strict-aliasing $(CFLAGS_CPU) $(CFLAGS_COLO)
     59CPPFLAGS= -mabi=32 -MD -nostdinc -Iinclude -I../include -D_DEBUG $(CPPFLAGS_GCC)
    6060
    6161LOADADDR= $(shell $(CROSS_COMPILE)readelf -l $(TARG) | awk '$$1 ~ /^LOAD$$/ { print $$3 }')
    6262
Note: See TracBrowser for help on using the repository browser.