~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to pc-bios/spapr-rtas/Makefile

  • Committer: Al Stone
  • Date: 2012-02-09 01:17:20 UTC
  • Revision ID: albert.stone@canonical.com-20120209011720-tztl7ik3qayz80p4
first commit to bzr for qemu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
all: build-all
 
2
# Dummy command so that make thinks it has done something
 
3
        @true
 
4
 
 
5
include ../../config-host.mak
 
6
include $(SRC_PATH)/rules.mak
 
7
 
 
8
$(call set-vpath, $(SRC_PATH)/pc-bios/spapr-rtas)
 
9
 
 
10
.PHONY : all clean build-all
 
11
 
 
12
#CFLAGS += -I$(SRC_PATH)
 
13
#QEMU_CFLAGS = $(CFLAGS)
 
14
 
 
15
build-all: spapr-rtas.bin
 
16
 
 
17
%.img: %.o
 
18
        $(call quiet-command,$(CC) -nostdlib -o $@ $<,"  Building $(TARGET_DIR)$@")
 
19
 
 
20
%.bin: %.img
 
21
        $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"  Building $(TARGET_DIR)$@")
 
22
 
 
23
clean:
 
24
        rm -f *.o *.d *.img *.bin *~