aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreeram Ramachandran <sreeram@google.com>2014-07-07 20:07:01 -0700
committerSreeram Ramachandran <sreeram@google.com>2014-07-07 22:00:14 -0700
commit37387691c0c4dd4b06938fc92c4540c92da90ef9 (patch)
tree788f7d155be3e72618dc0bd31a7b86d40e0dc46e
parentc0ed926d42a0d24095991bc1df603e629b9a7323 (diff)
downloadandroid_external_iproute2-37387691c0c4dd4b06938fc92c4540c92da90ef9.tar.gz
android_external_iproute2-37387691c0c4dd4b06938fc92c4540c92da90ef9.tar.bz2
android_external_iproute2-37387691c0c4dd4b06938fc92c4540c92da90ef9.zip
Define a writeable CONFDIR for iproute2.
Currently, the CONFDIR defaults to /etc/iproute2, which is on a read-only filesystem. We plan to write some files at runtime to this directory, so we need to point it at a read-write filesystem. Note that nothing in Android actually uses (populates) the current CONFDIR (/etc/iproute2). It doesn't even exist on the default system image. In other words, this change doesn't break anything. Change-Id: I69deb1a64d5d6647470823405bf0cc55b24b22de
-rw-r--r--lib/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Android.mk b/lib/Android.mk
index 3801335..a856eae 100644
--- a/lib/Android.mk
+++ b/lib/Android.mk
@@ -6,6 +6,7 @@ LOCAL_MODULE := libiprouteutil
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
LOCAL_CFLAGS := -O2 -g -W -Wall \
+ -DCONFDIR=\"/data/misc/net\" \
-DHAVE_UNISTD_H \
-DHAVE_ERRNO_H \
-DHAVE_NETINET_IN_H \