OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [or32/] [Makefile] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 xianfeng
# BK Id: %F% %I% %G% %U% %#%
2
#
3
# This file is included by the global makefile so that you can add your own
4
# architecture-specific flags and dependencies. Remember to do have actions
5
# for "archclean" and "archdep" for cleaning up and making dependencies for
6
# this architecture
7
#
8
# This file is subject to the terms and conditions of the GNU General Public
9
# License.  See the file "COPYING" in the main directory of this archive
10
# for more details.
11
#
12
# Copyright (C) 1994 by Linus Torvalds
13
 
14
# Changes for or32 by Matjaz Breskvar
15
# Based on:
16
# arch/i386/Makefile
17
 
18
LDFLAGS         :=
19
OBJCOPYFLAGS    := -O binary -R .note -R .comment -S
20
LDFLAGS_vmlinux :=
21
LIBGCC           = $(shell $(CC) $(CFLAGS) -print-file-name=libgcc.a)
22
 
23
CFLAGS          += -pipe
24
CFLAGS          += -fsigned-char -pipe -ffixed-r10 \
25
#                  -ffixed-r16 -ffixed-r17 -ffixed-r18 -ffixed-r19 \
26
#                  -ffixed-r20 -ffixed-r21 -ffixed-r22 -ffixed-r23 \
27
#                  -ffixed-r24 -ffixed-r25 -ffixed-r26 -ffixed-r27 \
28
#                  -ffixed-r28 -ffixed-r29 -ffixed-r30 -ffixed-r31 \
29
                   -Wno-uninitialized
30
AFLAGS          +=
31
 
32
head-y          := arch/or32/kernel/head.o
33
 
34
 
35
core-y          += arch/or32/lib/ \
36
                   arch/or32/kernel/ \
37
                   arch/or32/mm/ \
38
                   arch/or32/drivers/ \
39
                   arch/or32/board/ \
40
                   arch/or32/support/
41
libs-y          += $(LIBGCC)
42
 
43
all: vmlinux
44
 
45
#prepare: include/asm-$(ARCH)/offsets.h
46
CLEAN_FILES +=  include/asm-$(ARCH)/offsets.h
47
 
48
#arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
49
#                                  include/config/MARKER
50
 
51
#include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
52
#       $(call filechk,gen-asm-offsets)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.