|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /lib/modules/2.6.18-419.el5/source/arch/cris/arch-v32/boot/rescue/ |
Upload File : |
# # Makefile for rescue code # target = $(target_rescue_dir) src = $(src_rescue_dir) CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE) CFLAGS = -O2 LD = gcc-cris -mlinux -march=v32 -nostdlib OBJCOPY = objcopy-cris OBJCOPYFLAGS = -O binary --remove-section=.bss all: $(target)/rescue.bin rescue: rescue.bin # do nothing $(target)/rescue.bin: $(target) $(target)/head.o $(LD) -T $(src)/rescue.ld -o $(target)/rescue.o $(target)/head.o $(OBJCOPY) $(OBJCOPYFLAGS) $(target)/rescue.o $(target)/rescue.bin cp -p $(target)/rescue.bin $(objtree) $(target): mkdir -p $(target) $(target)/head.o: $(src)/head.S $(CC) -D__ASSEMBLY__ -c $< -o $*.o clean: rm -f $(target)/*.o $(target)/*.bin fastdep: modules: modules-install: