Annotation of qemu/roms/SLOF/board-qemu/slof/Makefile, revision 1.1.1.3

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: 
                     14: include ../Makefile.dirs
                     15: 
                     16: include $(TOPBRDDIR)/config
                     17: include $(TOPCMNDIR)/make.rules
                     18: 
                     19: 
                     20: all: Makefile.dep OF.ffs paflof $(SLOFCMNDIR)/xvect.bin
                     21: 
                     22: CPPFLAGS = -I$(LIBCMNDIR)/libbootmsg -I$(LIBCMNDIR)/libhvcall \
1.1.1.3 ! root       23:           -I$(LIBCMNDIR)/libvirtio -I$(LIBCMNDIR)/libnvram
1.1.1.2   root       24: SLOF_LIBS = \
                     25:        $(LIBCMNDIR)/libbootmsg.a \
                     26:        $(LIBCMNDIR)/libelf.a \
                     27:        $(LIBCMNDIR)/libhvcall.a \
1.1.1.3 ! root       28:        $(LIBCMNDIR)/libvirtio.a \
1.1       root       29:        $(LIBCMNDIR)/libnvram.a
                     30: BOARD_SLOF_IN = \
                     31:        $(LIBCMNDIR)/libhvcall/hvcall.in \
1.1.1.3 ! root       32:        $(LIBCMNDIR)/libvirtio/virtio.in \
1.1       root       33:        $(LIBCMNDIR)/libbootmsg/bootmsg.in \
1.1.1.2   root       34:        $(LIBCMNDIR)/libelf/libelf.in \
1.1       root       35:        $(LIBCMNDIR)/libnvram/libnvram.in \
                     36:        $(LIBCMNDIR)/libbases/libbases.in
                     37: BOARD_SLOF_CODE = $(BOARD_SLOF_IN:%.in=%.code)
                     38: 
                     39: include $(SLOFCMNDIR)/Makefile.inc
                     40: 
                     41: FPPINCLUDES = -I. -I$(SLOFCMNDIR)/fs -I$(SLOFCMNDIR)
                     42: 
                     43: USB_FFS_FILES = \
1.1.1.3 ! root       44:        $(SLOFCMNDIR)/fs/devices/pci-class_02.fs \
1.1       root       45:        $(SLOFCMNDIR)/fs/devices/pci-class_0c.fs \
                     46:        $(SLOFCMNDIR)/fs/usb/usb-ohci.fs \
                     47:        $(SLOFCMNDIR)/fs/usb/usb-support.fs \
                     48:        $(SLOFCMNDIR)/fs/usb/usb-hub.fs \
                     49:        $(SLOFCMNDIR)/fs/usb/usb-enumerate.fs \
                     50:        $(SLOFCMNDIR)/fs/usb/usb-storage.fs \
                     51:        $(SLOFCMNDIR)/fs/usb/usb-storage-support.fs \
                     52:        $(SLOFCMNDIR)/fs/usb/usb-storage-wrapper.fs \
                     53:        $(SLOFCMNDIR)/fs/usb/usb-keyboard.fs \
                     54:        $(SLOFCMNDIR)/fs/usb/usb-kbd-device-support.fs \
                     55:        $(SLOFCMNDIR)/fs/usb/usb-mouse.fs \
                     56:        $(SLOFCMNDIR)/fs/scsi-support.fs
                     57: 
                     58: VIO_FFS_FILES = \
1.1.1.3 ! root       59:        $(SLOFBRDDIR)/pci-device_1af4_1000.fs \
        !            60:        $(SLOFBRDDIR)/pci-device_1af4_1001.fs \
        !            61:        $(SLOFBRDDIR)/pci-device_1af4_1009.fs \
1.1       root       62:        $(SLOFBRDDIR)/vio-hvterm.fs \
                     63:        $(SLOFBRDDIR)/vio-vscsi.fs \
                     64:        $(SLOFBRDDIR)/vio-vscsi-device.fs \
1.1.1.3 ! root       65:        $(SLOFBRDDIR)/vio-veth.fs \
        !            66:        $(SLOFBRDDIR)/virtio-net.fs \
        !            67:        $(SLOFBRDDIR)/virtio-block.fs \
        !            68:        $(SLOFBRDDIR)/virtio-fs.fs
1.1       root       69: 
                     70: # Files that should go into the ROM fs (and so have to be listed in OF.ffs):
                     71: OF_FFS_FILES = \
                     72:        $(SLOFCMNDIR)/fs/ide.fs \
                     73:        $(SLOFCMNDIR)/fs/fbuffer.fs \
                     74:        $(SLOFCMNDIR)/fs/generic-disk.fs \
                     75:        $(SLOFCMNDIR)/fs/pci-device.fs \
                     76:        $(SLOFCMNDIR)/fs/pci-bridge.fs \
                     77:        $(SLOFCMNDIR)/fs/pci-properties.fs \
                     78:        $(SLOFCMNDIR)/fs/pci-config-bridge.fs \
                     79:        $(SLOFCMNDIR)/fs/update_flash.fs \
                     80:        $(SLOFCMNDIR)/fs/xmodem.fs \
                     81:        $(SLOFBRDDIR)/default-font.bin \
1.1.1.3 ! root       82:        $(SLOFBRDDIR)/pci-phb.fs \
        !            83:        $(SLOFBRDDIR)/rtas.fs \
        !            84:        $(SLOFBRDDIR)/pci-device_1234_1111.fs \
        !            85:        $(SLOFBRDDIR)/pci-device_1013_00b8.fs \
1.1       root       86:        $(FCODE_FFS_FILES)
                     87: 
                     88: # Uncomment the following line to enable the USB code:
1.1.1.3 ! root       89: OF_FFS_FILES += $(USB_FFS_FILES)
        !            90: 
        !            91: OF_FFS_FILES += $(VIO_FFS_FILES)
1.1       root       92: 
                     93: OF_FFS_FILES := $(OF_FFS_FILES:%.fs=%.fsi)
                     94: 
                     95: OF.ffs: Makefile $(SLOFCMNDIR)/Makefile.inc $(OF_FFS_FILES)
                     96:        $(MAKE) create_OF_ffs
                     97: 
                     98: # Rules for cleaning up:
                     99: .PHONY: clean_here clean distclean
                    100: 
                    101: clean_here:
                    102:        rm -f *.o OF.fsi OF.ffs
                    103: 
                    104: clean: clean_here clean_slof
                    105: 
                    106: distclean: clean_here distclean_slof

unix.superglobalmegacorp.com

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