~ubuntu-branches/ubuntu/vivid/qemu-linaro/vivid

« back to all changes in this revision

Viewing changes to tests/tcg/lm32/Makefile

  • Committer: Ricardo Salveti de Araujo
  • Date: 2012-09-20 18:39:31 UTC
  • mfrom: (12922.1.2 qemu-linaro)
  • Revision ID: ricardo.salveti@linaro.org-20120920183931-sp3cg6kpdl8dmwo9
* New upstream release.
  - support emulated systems with more than 2G of memory. (LP: #1030588)
* Drop powerpc-missing-include.patch - merged upstream.
* Update debian/control:
  - drop perl build dependency.
  - add libfdt-dev build dependency.
* Update debian/qemu-keymaps.install file.
* Update debian/rules:
  - update QEMU_CPU for ARM architecture: armv4l -> armv7l.
  - update conf_audio_drv: default to PulseAudio since PA is the default on
    Ubuntu.
  - enable KVM on ARM architecture.
  - enable flat device tree support (--enable-fdt). (LP: #1030594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
-include ../../config-host.mak
 
1
-include ../../../config-host.mak
2
2
 
3
3
CROSS=lm32-elf-
4
4
 
12
12
LD      = $(CC)
13
13
OBJCOPY = $(CROSS)objcopy
14
14
 
15
 
LDFLAGS = -Tlinker.ld
 
15
TSRC_PATH = $(SRC_PATH)/tests/tcg/lm32
 
16
 
 
17
LDFLAGS = -T$(TSRC_PATH)/linker.ld
 
18
ASFLAGS += -Wa,-I,$(TSRC_PATH)/
16
19
 
17
20
CRT        = crt.o
18
21
TESTCASES += test_add.tst
82
85
 
83
86
all: build
84
87
 
85
 
%.o: $(SRC_PATH)/tests/lm32/%.c
 
88
%.o: $(TSRC_PATH)/%.c
86
89
        $(CC) $(CFLAGS) -c $< -o $@
87
90
 
88
 
%.o: $(SRC_PATH)/tests/lm32/%.S
 
91
%.o: $(TSRC_PATH)/%.S
89
92
        $(AS) $(ASFLAGS) -c $< -o $@
90
93
 
91
 
%.tst: %.o macros.inc $(CRT)
 
94
%.tst: %.o $(TSRC_PATH)/macros.inc $(CRT)
92
95
        $(LD) $(LDFLAGS) $(NOSTDFLAGS) $(CRT) $< -o $@
93
96
 
94
97
build: $(CRT) $(TESTCASES)