Merge "init: Fix -DUSER_MODE_LINUX compilation"
am: 9a38df3f5f
Change-Id: I26d86100bb8f76325b46ba2c2d066e856d910396
This commit is contained in:
commit
d1821522aa
2 changed files with 3 additions and 4 deletions
|
@ -54,6 +54,9 @@ cc_defaults {
|
|||
"-DSHUTDOWN_ZERO_TIMEOUT=1",
|
||||
],
|
||||
},
|
||||
uml: {
|
||||
cppflags: ["-DUSER_MODE_LINUX"],
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -30,10 +30,6 @@ endif
|
|||
|
||||
init_options += -DLOG_UEVENTS=0
|
||||
|
||||
ifeq ($(TARGET_USER_MODE_LINUX), true)
|
||||
init_cflags += -DUSER_MODE_LINUX
|
||||
endif
|
||||
|
||||
init_cflags += \
|
||||
$(init_options) \
|
||||
-Wall -Wextra \
|
||||
|
|
Loading…
Reference in a new issue