Subversion Repositories HelenOS

Rev

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

Rev 3438 Rev 3486
Line 61... Line 61...
61
	LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
61
	LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
62
	OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
62
	OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
63
	OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
63
	OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
64
endif
64
endif
65
 
65
 
66
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
66
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 -pipe
67
 
67
 
68
ifdef REVISION
68
ifdef REVISION
69
	CFLAGS += "-DREVISION=\"$(REVISION)\""
69
	CFLAGS += "-DREVISION=\"$(REVISION)\""
70
endif
70
endif
71
 
71
 
Line 121... Line 121...
121
 
121
 
122
image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS)
122
image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS)
123
	$(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) -o $@
123
	$(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) -o $@
124
 
124
 
125
depend:
125
depend:
126
	-makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null
126
	-makedepend -f - -- $(DEFS) $(CFLAGS) -- $(SOURCES) > Makefile.depend 2> /dev/null
127
 
127
 
128
clean:
128
clean:
129
	-for file in $(RD_SRVS) ; do \
129
	-for file in $(RD_SRVS) ; do \
130
		rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
130
		rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
131
	done
131
	done