|
@@ -196,11 +196,14 @@ else
|
|
QEMU_OPTS += --disable-fdt
|
|
QEMU_OPTS += --disable-fdt
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# Override CPP, as it expects to be able to call it like it'd
|
|
|
|
+# call the compiler.
|
|
define QEMU_CONFIGURE_CMDS
|
|
define QEMU_CONFIGURE_CMDS
|
|
( cd $(@D); \
|
|
( cd $(@D); \
|
|
LIBS='$(QEMU_LIBS)' \
|
|
LIBS='$(QEMU_LIBS)' \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(TARGET_CONFIGURE_ARGS) \
|
|
$(TARGET_CONFIGURE_ARGS) \
|
|
|
|
+ CPP="$(TARGET_CC) -E" \
|
|
$(QEMU_VARS) \
|
|
$(QEMU_VARS) \
|
|
./configure \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--prefix=/usr \
|