[3c1dec0] | 1 | #
|
---|
[df4ed85] | 2 | # Copyright (c) 2006 Martin Decky
|
---|
[3c1dec0] | 3 | # All rights reserved.
|
---|
| 4 | #
|
---|
| 5 | # Redistribution and use in source and binary forms, with or without
|
---|
| 6 | # modification, are permitted provided that the following conditions
|
---|
| 7 | # are met:
|
---|
| 8 | #
|
---|
| 9 | # - Redistributions of source code must retain the above copyright
|
---|
| 10 | # notice, this list of conditions and the following disclaimer.
|
---|
| 11 | # - Redistributions in binary form must reproduce the above copyright
|
---|
| 12 | # notice, this list of conditions and the following disclaimer in the
|
---|
| 13 | # documentation and/or other materials provided with the distribution.
|
---|
| 14 | # - The name of the author may not be used to endorse or promote products
|
---|
| 15 | # derived from this software without specific prior written permission.
|
---|
| 16 | #
|
---|
| 17 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
---|
| 18 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
---|
| 19 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
---|
| 20 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
---|
| 21 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
---|
| 22 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
---|
| 23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
---|
| 24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
---|
| 25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
---|
| 26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
---|
| 27 | #
|
---|
| 28 |
|
---|
[4872160] | 29 | BOOT_OUTPUT = image.boot
|
---|
| 30 | POST_OUTPUT = $(ROOT_PATH)/image.iso
|
---|
| 31 | POSTBUILD = Makefile.yaboot
|
---|
[3c1dec0] | 32 |
|
---|
[4872160] | 33 | BFD_NAME = elf32-powerpc
|
---|
| 34 | BFD_OUTPUT = $(BFD_NAME)
|
---|
| 35 | BFD_ARCH = powerpc:common
|
---|
[b4c6e83] | 36 |
|
---|
[4872160] | 37 | BITS = 32
|
---|
| 38 | ENDIANESS = BE
|
---|
| 39 | EXTRA_CFLAGS = -mcpu=powerpc -msoft-float -m32
|
---|
[41f7564] | 40 |
|
---|
[fa9616b4] | 41 | RD_SRVS_ESSENTIAL += \
|
---|
[8fefd8b] | 42 | hw/bus/cuda_adb
|
---|
[3c1dec0] | 43 |
|
---|
[29a3886] | 44 | RD_DRVS_ESSENTIAL += \
|
---|
[2a37b9f] | 45 | platform/mac \
|
---|
[e27e36e] | 46 | bus/adb/cuda_adb \
|
---|
[dd93bb2] | 47 | bus/pci/pciintel \
|
---|
| 48 | bus/usb/ohci \
|
---|
[b7e1458] | 49 | bus/usb/usbdiag \
|
---|
[dd93bb2] | 50 | bus/usb/usbflbk \
|
---|
| 51 | bus/usb/usbhub \
|
---|
| 52 | bus/usb/usbmid \
|
---|
[53b9f2c] | 53 | bus/usb/vhc \
|
---|
| 54 | block/usbmast \
|
---|
[a2afd8f] | 55 | hid/adb-kbd \
|
---|
| 56 | hid/adb-mouse \
|
---|
[53b9f2c] | 57 | hid/usbhid
|
---|
[73d288c] | 58 |
|
---|
[4872160] | 59 | SOURCES = \
|
---|
| 60 | arch/$(BARCH)/src/asm.S \
|
---|
| 61 | arch/$(BARCH)/src/main.c \
|
---|
| 62 | arch/$(BARCH)/src/ofw.c \
|
---|
[63a045c] | 63 | $(COMPS).o \
|
---|
[4872160] | 64 | genarch/src/ofw.c \
|
---|
| 65 | genarch/src/ofw_tree.c \
|
---|
| 66 | genarch/src/division.c \
|
---|
| 67 | genarch/src/multiplication.c \
|
---|
| 68 | generic/src/balloc.c \
|
---|
[a2da43c] | 69 | generic/src/memstr.c \
|
---|
[4872160] | 70 | generic/src/printf_core.c \
|
---|
| 71 | generic/src/vprintf.c \
|
---|
| 72 | generic/src/printf.c \
|
---|
| 73 | generic/src/str.c \
|
---|
| 74 | generic/src/version.c \
|
---|
[63a045c] | 75 | generic/src/inflate.c \
|
---|
| 76 | generic/src/gzip.c \
|
---|
| 77 | generic/src/tar.c \
|
---|
[cfdeedc] | 78 | generic/src/kernel.c \
|
---|
[63a045c] | 79 | generic/src/payload.c
|
---|