Subversion Repositories HelenOS-historic

Rev

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

Rev 268 Rev 288
Line 74... Line 74...
74
	-$(MAKE) clean
74
	-$(MAKE) clean
75
 
75
 
76
kernel.bin: $(arch_objects) $(objects) $(test_objects)
76
kernel.bin: $(arch_objects) $(objects) $(test_objects)
77
	$(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) --prefix-sections=symtab Makefile debug/empty_map.o
77
	$(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) --prefix-sections=symtab Makefile debug/empty_map.o
78
	$(LD) $(LFLAGS) $(arch_objects) $(objects) $(test_objects) debug/empty_map.o -o $@ -Map kernel.map.pre
78
	$(LD) $(LFLAGS) $(arch_objects) $(objects) $(test_objects) debug/empty_map.o -o $@ -Map kernel.map.pre
79
	debug/genmap.py kernel.map.pre debug/real_map.bin
79
	../tools/genmap.py kernel.map.pre debug/real_map.bin
80
	$(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) --prefix-sections=symtab debug/real_map.bin debug/real_map.o
80
	$(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) --prefix-sections=symtab debug/real_map.bin debug/real_map.o
81
	$(LD) $(LFLAGS) $(arch_objects) $(objects) $(test_objects) debug/real_map.o -o $@ -Map kernel.map	
81
	$(LD) $(LFLAGS) $(arch_objects) $(objects) $(test_objects) debug/real_map.o -o $@ -Map kernel.map	
82
 
82
 
83
%.s: %.S
83
%.s: %.S
84
	$(CC) $(CPPFLAGS) -E $< >$@
84
	$(CC) $(CPPFLAGS) -E $< >$@