|
|
1.1 root 1: # *****************************************************************************
2: # * Copyright (c) 2004, 2008 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)/libnvram
1.1.1.2 ! root 23: SLOF_LIBS = \
! 24: $(LIBCMNDIR)/libbootmsg.a \
! 25: $(LIBCMNDIR)/libelf.a \
! 26: $(LIBCMNDIR)/libnvram.a
1.1 root 27: BOARD_SLOF_IN = \
28: $(LIBCMNDIR)/libbootmsg/bootmsg.in \
1.1.1.2 ! root 29: $(LIBCMNDIR)/libelf/libelf.in \
1.1 root 30: $(LIBCMNDIR)/libbases/libbases.in \
31: $(LIBCMNDIR)/libnvram/libnvram.in
32: BOARD_SLOF_CODE = $(BOARD_SLOF_IN:%.in=%.code)
33:
34: include $(SLOFCMNDIR)/Makefile.inc
35:
36: FPPINCLUDES = -I. -I$(SLOFCMNDIR)/fs -I$(SLOFCMNDIR)
37:
38: # FCode Evaluator files for the ROM fs:
39: FCODE_FFS_FILES = \
40: $(SLOFCMNDIR)/fs/fcode/core.fs \
41: $(SLOFCMNDIR)/fs/fcode/evaluator.fs \
42: $(SLOFCMNDIR)/fs/fcode/big.fs \
43: $(SLOFCMNDIR)/fs/fcode/tokens.fs \
44: $(SLOFCMNDIR)/fs/fcode/1275.fs
45:
46:
47: USB_FFS_FILES = \
48: $(SLOFCMNDIR)/fs/devices/pci-class_0c.fs \
49: $(SLOFCMNDIR)/fs/usb/usb-ohci.fs \
50: $(SLOFCMNDIR)/fs/usb/usb-support.fs \
51: $(SLOFCMNDIR)/fs/usb/usb-hub.fs \
52: $(SLOFCMNDIR)/fs/usb/usb-enumerate.fs \
53: $(SLOFCMNDIR)/fs/usb/usb-storage.fs \
54: $(SLOFCMNDIR)/fs/usb/usb-storage-support.fs \
55: $(SLOFCMNDIR)/fs/usb/usb-storage-wrapper.fs \
56: $(SLOFCMNDIR)/fs/usb/usb-keyboard.fs \
57: $(SLOFCMNDIR)/fs/usb/usb-kbd-device-support.fs \
58: $(SLOFCMNDIR)/fs/usb/usb-mouse.fs \
59: $(SLOFCMNDIR)/fs/scsi-support.fs
60:
61:
62:
63: # Files that should go into the ROM fs (and so have to be listed in OF.ffs):
64: OF_FFS_FILES = \
65: $(SLOFBRDDIR)/u4-mem.fs \
66: $(SLOFBRDDIR)/attu.fs \
67: $(SLOFBRDDIR)/cpu.fs \
68: $(SLOFBRDDIR)/ioapic.fs \
69: $(SLOFBRDDIR)/pci-bridge_1022_7460.fs \
70: $(SLOFBRDDIR)/pci-device_1014_028c.fs \
71: $(SLOFBRDDIR)/pci-device_1014_02bd.fs \
72: $(SLOFBRDDIR)/pci-device_1022_7468.fs \
73: $(SLOFBRDDIR)/pci-device_1022_7469.fs \
74: $(SLOFBRDDIR)/pci-device_1022_7451.fs \
75: $(SLOFBRDDIR)/pci-class_03.fs \
76: $(SLOFBRDDIR)/vga-display.fs \
77: $(SLOFBRDDIR)/freq.fs \
78: $(SLOFBRDDIR)/pci-device_1002_515e.fs \
79: $(SLOFBRDDIR)/citrine.fs \
80: $(SLOFBRDDIR)/citrine-disk.fs \
81: $(SLOFBRDDIR)/sio.fs \
82: $(SLOFBRDDIR)/tpm.fs \
83: $(SLOFBRDDIR)/ipmi-kcs.fs \
84: $(SLOFCMNDIR)/fs/ide.fs \
85: $(SLOFCMNDIR)/fs/fbuffer.fs \
86: $(SLOFCMNDIR)/fs/generic-disk.fs \
87: $(SLOFCMNDIR)/fs/pci-device.fs \
88: $(SLOFCMNDIR)/fs/pci-bridge.fs \
89: $(SLOFCMNDIR)/fs/pci-properties.fs \
90: $(SLOFCMNDIR)/fs/pci-config-bridge.fs \
91: $(SLOFCMNDIR)/fs/update_flash.fs \
92: $(SLOFCMNDIR)/fs/xmodem.fs \
93: $(SLOFCMNDIR)/fs/devices/pci-device_10de_0141.fs \
94: $(SLOFCMNDIR)/fs/devices/pci-class_02.fs \
95: $(SLOFBRDDIR)/default-font.bin \
96: $(FCODE_FFS_FILES)
97:
98: # Uncomment the following line to enable the USB code:
99: OF_FFS_FILES += $(USB_FFS_FILES)
100:
101: OF_FFS_FILES := $(OF_FFS_FILES:%.fs=%.fsi)
102:
103: OF.ffs: Makefile $(SLOFCMNDIR)/Makefile.inc $(OF_FFS_FILES)
104: $(MAKE) create_OF_ffs
105:
106: # Rules for cleaning up:
107: .PHONY: clean_here clean distclean
108:
109: clean_here:
110: rm -f *.o OF.fsi OF.ffs
111:
112: clean: clean_here clean_slof
113:
114: distclean: clean_here distclean_slof
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.