Rev 3438 | Rev 3697 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3438 | Rev 3486 | ||
---|---|---|---|
Line 66... | Line 66... | ||
66 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
66 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
67 | GEFI_PREFIX = $(TOOLCHAIN_DIR)/$(TARGET)- |
67 | GEFI_PREFIX = $(TOOLCHAIN_DIR)/$(TARGET)- |
68 | endif |
68 | endif |
69 | 69 | ||
70 | #-mno-pic means do not use gp + imm22 to address data |
70 | #-mno-pic means do not use gp + imm22 to address data |
71 | CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -I../../../../kernel/generic/include -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic |
71 | CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -I../../../../kernel/generic/include -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -pipe |
72 | 72 | ||
73 | ifdef REVISION |
73 | ifdef REVISION |
74 | CFLAGS += "-DREVISION=\"$(REVISION)\"" |
74 | CFLAGS += "-DREVISION=\"$(REVISION)\"" |
75 | endif |
75 | endif |
76 | 76 | ||
Line 121... | Line 121... | ||
121 | 121 | ||
122 | image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) |
122 | image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) |
123 | $(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@ |
123 | $(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(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 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot image.map image.disasm Makefile.depend ../../../../image.bin ../../../../hello.efi |
129 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot image.map image.disasm Makefile.depend ../../../../image.bin ../../../../hello.efi |
130 | make -C gefi clean |
130 | make -C gefi clean |
131 | make -C gefi/HelenOS clean |
131 | make -C gefi/HelenOS clean |