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