Add linux-next specific files for 20110831
[linux-2.6/next.git] / tools / kvm / tests / kernel / Makefile
blobc7dd8da33332fc23b114def6790973f8963e6e63
1 NAME := kernel
3 BIN := $(NAME).bin
4 ELF := $(NAME).elf
5 OBJ := $(NAME).o
7 all: $(BIN)
9 $(BIN): $(ELF)
10 objcopy -O binary $< $@
12 $(ELF): $(OBJ)
13 ld -Ttext=0x00 -nostdlib -static $< -o $@
15 %.o: %.S
16 gcc -nostdinc -c $< -o $@
18 clean:
19 rm -f $(BIN) $(ELF) $(OBJ)
20 .PHONY: clean