From: yegorslists@googlemail.com
To: linux-can@vger.kernel.org
Cc: mkl@pengutronix.de, Yegor Yefremov <yegorslists@googlemail.com>
Subject: [PATCH] can-utils: fix local header path for AOSP build
Date: Fri, 1 Feb 2013 08:44:46 +0100 [thread overview]
Message-ID: <1359704686-3040-1-git-send-email-yegorslists@googlemail.com> (raw)
From: Yegor Yefremov <yegorslists@googlemail.com>
Use path relative to the can-utils source code and to root of
the AOSP repository.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Android.mk | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
mode change 100644 => 100755 Android.mk
diff --git a/Android.mk b/Android.mk
old mode 100644
new mode 100755
index 9267ec4..56a80c1
--- a/Android.mk
+++ b/Android.mk
@@ -181,7 +181,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := isotpdump.c
LOCAL_MODULE := isotpdump
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/can-utils/include/
+LOCAL_C_INCLUDES := $(KERNEL_HEADERS) $(LOCAL_PATH)/include/
LOCAL_CFLAGS := -O2 -g -W -Wall
include $(BUILD_EXECUTABLE)
@@ -195,7 +195,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := isotprecv.c
LOCAL_MODULE := isotprecv
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/can-utils/include/
+LOCAL_C_INCLUDES := $(KERNEL_HEADERS) $(LOCAL_PATH)/include/
LOCAL_CFLAGS := -O2 -g -W -Wall
include $(BUILD_EXECUTABLE)
@@ -209,7 +209,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := isotpsend.c
LOCAL_MODULE := isotpsend
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/can-utils/include/
+LOCAL_C_INCLUDES := $(KERNEL_HEADERS) $(LOCAL_PATH)/include/
LOCAL_CFLAGS := -O2 -g -W -Wall
include $(BUILD_EXECUTABLE)
@@ -223,7 +223,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := isotpserver.c
LOCAL_MODULE := isotpserver
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/can-utils/include/
+LOCAL_C_INCLUDES := $(KERNEL_HEADERS) $(LOCAL_PATH)/include/
LOCAL_CFLAGS := -O2 -g -W -Wall
include $(BUILD_EXECUTABLE)
@@ -237,7 +237,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := isotpsniffer.c
LOCAL_MODULE := isotpsniffer.c
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/can-utils/include/
+LOCAL_C_INCLUDES := $(KERNEL_HEADERS) $(LOCAL_PATH)/include/
LOCAL_CFLAGS := -O2 -g -W -Wall
include $(BUILD_EXECUTABLE)
@@ -251,7 +251,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := isotptun.c
LOCAL_MODULE := isotptun
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/can-utils/include/
+LOCAL_C_INCLUDES := $(KERNEL_HEADERS) $(LOCAL_PATH)/include/
LOCAL_CFLAGS := -O2 -g -W -Wall
include $(BUILD_EXECUTABLE)
--
1.7.7
next reply other threads:[~2013-02-01 8:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 7:44 yegorslists [this message]
2013-02-01 9:33 ` [PATCH] can-utils: fix local header path for AOSP build Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1359704686-3040-1-git-send-email-yegorslists@googlemail.com \
--to=yegorslists@googlemail.com \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox