Annotation of qemu/roms/SLOF/board-qemu/llfw/Makefile, revision 1.1.1.2

1.1       root        1: # *****************************************************************************
                      2: # * Copyright (c) 2004, 2011 IBM Corporation
                      3: # * All rights reserved.
                      4: # * This program and the accompanying materials
                      5: # * are made available under the terms of the BSD License
                      6: # * which accompanies this distribution, and is available at
                      7: # * http://www.opensource.org/licenses/bsd-license.php
                      8: # *
                      9: # * Contributors:
                     10: # *     IBM Corporation - initial implementation
                     11: # ****************************************************************************/
                     12: 
                     13: include ../../make.rules
                     14: 
                     15: CPPFLAGS       = -I$(INCLBRDDIR) -I$(INCLCMNDIR) -I$(INCLCMNDIR)/$(CPUARCH) \
                     16:                  -I$(LIBCMNDIR)/libc/include
                     17: CFLAGS         += -fno-builtin $(CPPFLAGS) -O2  -msoft-float $(MAMBO)
                     18: CFLAGS         += $(BOOT) $(IOCONF) -Wa,-mregnames $(RELEASE) $(CPUARCHDEF) -Wall
                     19: ASFLAGS         = $(BOOT) $(IOCONF) $(RELEASE)$(CPUARCHDEF)  -Wa,-mregnames
                     20: LDFLAGS1       = -nostdlib -e__start -Tstage2.lds -N -Ttext=0x100
                     21: 
                     22: 
1.1.1.2 ! root       23: STG1OBJ                 = startup.o version.o boot_abort.o romfs.o io_generic.o board_io.o 
1.1       root       24: STG1OBJ                 += stage2_head.o stage2.o comlib.o romfs_wrap.o nvramlog.o
                     25: 
1.1.1.2 ! root       26: .PHONY: version.S
        !            27: 
1.1       root       28: all: stage1.bin Cboot.o
                     29: 
                     30: stage1.bin:    $(STG1OBJ) $(LIBCMNDIR)/libelf.a $(LIBCMNDIR)/libc.a
                     31:                $(LD) $(LDFLAGS1) -o stage1.elf $^
                     32:                $(OBJCOPY) -O binary stage1.elf $@
                     33: 
                     34: romfs.o:       ../../llfw/romfs.S
                     35:                $(CC) $(CFLAGS) -c ../../llfw/romfs.S
                     36: 
                     37: boot_abort.o:  ../../llfw/boot_abort.S
                     38:                $(CC) $(CFLAGS) -c ../../llfw/boot_abort.S
                     39: 
                     40: nvramlog.o:    ../../llfw/nvramlog.S
                     41:                $(CC) $(CFLAGS) -c ../../llfw/nvramlog.S
                     42: 
                     43: include $(LLFWCMNDIR)/clib/Makefile.inc
                     44: 
                     45: include $(LLFWCMNDIR)/io_generic/Makefile.inc
                     46: 
                     47: romfs_wrap.o:  ../../llfw/romfs_wrap.c
                     48:                $(CC) $(CFLAGS) -c ../../llfw/romfs_wrap.c
                     49: 
                     50: Cboot.o: Cboot.S
                     51:                $(CC) $(CFLAGS) -c $^
                     52:                $(OBJCOPY) -O binary Cboot.o Cboot.bin
                     53: 
                     54: %.o: %.S
                     55:                $(CC) $(CFLAGS) -c $^
                     56: 
                     57: clean:
                     58:                rm -f *.o *.bin *.elf

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.