diff options
author | Arve Hjønnevåg <arve@android.com> | 2017-04-06 19:40:01 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2017-09-19 16:38:28 -0700 |
commit | 30b7adfda986a70f12bb9a90b64f00b3e5f729be (patch) | |
tree | 53a398d5c08b3cc29e7460b78b4be137d063c790 | |
parent | fc4f011f1d132f81c846152f89a0e35dd6141504 (diff) | |
download | common-tmp/upstream-rebase.tar.gz |
[lib][io] Add WITHOUT_CONSOLE option.tmp/upstream-rebase
Allows compiling a 32 bit user-space libc when using a 64 bit kernel.
Change-Id: I91c72408fecef5be6203d0e079169e040ea2ab30
-rw-r--r-- | lib/io/rules.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/io/rules.mk b/lib/io/rules.mk index 30b4cc56..d6c48a75 100644 --- a/lib/io/rules.mk +++ b/lib/io/rules.mk @@ -3,10 +3,13 @@ LOCAL_DIR := $(GET_LOCAL_DIR) MODULE := $(LOCAL_DIR) MODULE_DEPS := \ - lib/cbuf + +ifeq (false,$(call TOBOOL,$(WITHOUT_CONSOLE))) +MODULE_DEPS += lib/cbuf +MODULE_SRCS += $(LOCAL_DIR)/console.c +endif MODULE_SRCS += \ - $(LOCAL_DIR)/console.c \ $(LOCAL_DIR)/io.c \ include make/module.mk |