Skip to contentSkip to conversation

Makefile.user: Define CONFIG_USER_ONLY for libuser/

PATCH Applied Andreas Färber 3 participants 3 messages Jun 9, 2012 – Jun 12, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile.user: Define CONFIG_USER_ONLY for libuser/

In *-*-user/ build dirs CONFIG_USER_ONLY is defined via config-target.h. In libuser/ it is not defined.

Add it via QEMU_CFLAGS.

---
Soon needed for cpu.c.

 Makefile.user |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile.user +1 -0
index b717820..ab70eb3 100644
@@ -10,6 +10,7 @@ $(call set-vpath, $(SRC_PATH))
 
 QEMU_CFLAGS+=-I..
 QEMU_CFLAGS += -I$(SRC_PATH)/include
+QEMU_CFLAGS += -DCONFIG_USER_ONLY
 
 include $(SRC_PATH)/Makefile.objs
 
Signature · 1 line
1.7.7
Reviewed-by on v1 1/1
#1 lore raw

----- Messaggio originale -----

Quoted 6 lines

Da: "Andreas Färber" <[email protected]>
A: [email protected]
Cc: [email protected], [email protected], "Andreas Färber" <[email protected]>
Inviato: Sabato, 9 giugno 2012 13:56:42
Oggetto: [PATCH] Makefile.user: Define CONFIG_USER_ONLY for libuser/

Quoted 7 lines

In *-*-user/ build dirs CONFIG_USER_ONLY is defined via config-target.h.
In libuser/ it is not defined.

Add it via QEMU_CFLAGS.

Paolo

Quoted 22 lines

---
Soon needed for cpu.c.

 Makefile.user |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile.user +1 -1
index b717820..ab70eb3 100644
@@ -10,6 +10,7 @@ $(call set-vpath, $(SRC_PATH))
 
 QEMU_CFLAGS+=-I..
 QEMU_CFLAGS += -I$(SRC_PATH)/include
+QEMU_CFLAGS += -DCONFIG_USER_ONLY
 
 include $(SRC_PATH)/Makefile.objs
 
--

1.7.7