937b1258b7
This will apply libuser-specific compilation flags (like the ones added by --enable-user-pie), but keep softmmu emulation targets "as-is". Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
26 lines
475 B
Makefile
26 lines
475 B
Makefile
# Makefile for qemu target independent user files.
|
|
|
|
include ../config-host.mak
|
|
include $(SRC_PATH)/rules.mak
|
|
-include config.mak
|
|
|
|
.PHONY: all
|
|
|
|
$(call set-vpath, $(SRC_PATH))
|
|
|
|
QEMU_CFLAGS+=-I..
|
|
|
|
include $(SRC_PATH)/Makefile.objs
|
|
|
|
all: $(user-obj-y)
|
|
# Dummy command so that make thinks it has done something
|
|
@true
|
|
|
|
clean:
|
|
for d in . trace; do \
|
|
rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
|
|
done
|
|
|
|
# Include automatically generated dependency files
|
|
-include $(wildcard *.d */*.d)
|