Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 2160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 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 = mipsel-linux-gnu
35
TARGET = mipsel-linux-gnu
33
TOOLCHAIN_DIR = /usr/local/mipsel/bin
36
TOOLCHAIN_DIR = /usr/local/mipsel/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 -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3
52
CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mhard-float -mips3
-
 
53
 
-
 
54
ifdef REVISION
-
 
55
	CFLAGS += "-DREVISION=\"$(REVISION)\""
-
 
56
endif
-
 
57
 
-
 
58
ifdef TIMESTAMP
-
 
59
	CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
-
 
60
endif
50
 
61
 
51
SOURCES = \
62
SOURCES = \
52
	main.c \
63
	main.c \
53
	msim.c \
64
	msim.c \
54
	../../../generic/printf.c \
65
	../../../generic/printf.c \