Rev 1800 | Rev 2071 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1800 | Rev 1998 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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 |
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. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
- | 29 | include ../../../../version |
|
- | 30 | include ../../../Makefile.config |
|
- | 31 | ||
29 | ## Toolchain configuration |
32 | ## Toolchain configuration |
30 | # |
33 | # |
31 | 34 | ||
32 | TARGET = ppc64-linux-gnu |
35 | TARGET = ppc64-linux-gnu |
33 | TOOLCHAIN_DIR = /usr/local/ppc64/bin |
36 | TOOLCHAIN_DIR = /usr/local/ppc64/bin |
Line 44... | Line 47... | ||
44 | LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld |
47 | LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld |
45 | OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy |
48 | OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy |
46 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
49 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
47 | endif |
50 | endif |
48 | 51 | ||
49 | CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc64 -msoft-float -m64 |
52 | CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc64 -msoft-float -m64 |
- | 53 | ||
- | 54 | ifdef REVISION |
|
- | 55 | CFLAGS += "-DREVISION=\"$(REVISION)\"" |
|
- | 56 | endif |
|
- | 57 | ||
- | 58 | ifdef TIMESTAMP |
|
- | 59 | CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" |
|
50 | DEFS = |
60 | endif |
51 | 61 | ||
52 | SOURCES = \ |
62 | SOURCES = \ |
53 | main.c \ |
63 | main.c \ |
54 | ofwarch.c \ |
64 | ofwarch.c \ |
55 | ../../../genarch/ofw.c \ |
65 | ../../../genarch/ofw.c \ |