Subversion Repositories HelenOS

Rev

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

Rev 3462 Rev 3486
Line 55... Line 55...
55
	LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
55
	LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
56
	OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
56
	OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
57
	OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
57
	OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
58
endif
58
endif
59
 
59
 
60
CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64 -mno-fpu
60
CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64 -mno-fpu -pipe
61
 
61
 
62
ifdef REVISION
62
ifdef REVISION
63
	CFLAGS += "-DREVISION=\"$(REVISION)\""
63
	CFLAGS += "-DREVISION=\"$(REVISION)\""
64
endif
64
endif
65
 
65
 
Line 119... Line 119...
119
 
119
 
120
image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
120
image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
121
	$(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
121
	$(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
122
 
122
 
123
depend:
123
depend:
124
	-makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null
124
	-makedepend -f - -- $(DEFS) $(CFLAGS) -- $(SOURCES) > Makefile.depend 2> /dev/null
125
 
125
 
126
clean:
126
clean:
127
	-for file in $(RD_SRVS) ; do \
127
	-for file in $(RD_SRVS) ; do \
128
		rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
128
		rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
129
	done
129
	done