Lines Matching +full:psci +full:- +full:0
7 tests-common = $(TEST_DIR)/selftest.$(exe)
8 tests-common += $(TEST_DIR)/spinlock-test.$(exe)
9 tests-common += $(TEST_DIR)/pci-test.$(exe)
10 tests-common += $(TEST_DIR)/pmu.$(exe)
11 tests-common += $(TEST_DIR)/gic.$(exe)
12 tests-common += $(TEST_DIR)/psci.$(exe)
13 tests-common += $(TEST_DIR)/sieve.$(exe)
14 tests-common += $(TEST_DIR)/pl031.$(exe)
15 tests-common += $(TEST_DIR)/dummy.$(exe)
17 tests-all = $(tests-common) $(tests)
18 all: directories $(tests-all)
20 $(TEST_DIR)/sieve.elf: AUXFLAGS = 0x1
23 AUXFLAGS ?= 0x0
28 CFLAGS += -mcpu=$(PROCESSOR)
29 CFLAGS += -std=gnu99
30 CFLAGS += -ffreestanding
31 CFLAGS += -O2
32 CFLAGS += -I $(SRCDIR)/lib -I $(SRCDIR)/lib/libfdt -I lib
37 asm-offsets = lib/$(ARCH)/asm-offsets.h
38 include $(SRCDIR)/scripts/asm-offsets.mak
48 cflatobjs += lib/on-cpus.o
50 cflatobjs += lib/pci-host-generic.o
51 cflatobjs += lib/pci-testdev.o
53 cflatobjs += lib/virtio-mmio.o
54 cflatobjs += lib/chr-testdev.o
59 cflatobjs += lib/arm/psci.o
62 cflatobjs += lib/arm/gic.o lib/arm/gic-v2.o lib/arm/gic-v3.o
77 $(CC) $(CFLAGS) -c -o $@ $< \
78 -DPROGNAME=\"$(@:.aux.o=.efi)\" -DAUXFLAGS=$(AUXFLAGS)
80 %.so: EFI_LDFLAGS += -defsym=EFI_SUBSYSTEM=0xa --no-undefined
82 $(LD) $(EFI_LDFLAGS) -o $@ -T $(SRCDIR)/arm/efi/elf_aarch64_efi.lds \
87 $(OBJCOPY) --only-keep-debug $^ $@.debug
88 $(OBJCOPY) --strip-debug $^
89 $(OBJCOPY) --add-gnu-debuglink=$@.debug $^
91 -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
92 -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
93 -j .reloc \
94 -O binary $^ $@
97 $(CC) $(CFLAGS) -c -o $@ $< \
98 -DPROGNAME=\"$(@:.aux.o=.flat)\" -DAUXFLAGS=$(AUXFLAGS)
102 $(LD) $(LDFLAGS) -o $@ -T $(SRCDIR)/arm/flat.lds \
104 @chmod a-x $@
108 $(OBJCOPY) -O binary $^ $@
109 @chmod a-x $@
119 generated-files = $(asm-offsets)
120 $(tests-all:.$(exe)=.o) $(cstart.o) $(cflatobjs): $(generated-files)