All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Android.mk: canbusload: make use of libcan
@ 2014-01-31 10:25 Marc Kleine-Budde
  2014-01-31 10:47 ` Yegor Yefremov
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2014-01-31 10:25 UTC (permalink / raw)
  To: linux-can; +Cc: Marc Kleine-Budde, Yegor Yefremov

In commit

    2206f92 canbusload: Add exact CAN frame length calculation (including bitstuffing)

the function to calculate the can_frame_length was moved into a seperate file
(canframelen.c). This patch for the Android makefile adds canframelen.c to the
lib, too and lets canbusload link against the lib.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
Hello Yegor,

can you please test if current master + this patch compiles again on Android?

regards,
Marc

 Android.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Android.mk b/Android.mk
index ffac957..1901197 100644
--- a/Android.mk
+++ b/Android.mk
@@ -11,7 +11,7 @@ PRIVATE_LOCAL_CFLAGS := -O2 -g -W -Wall		\
 
 include $(CLEAR_VARS)
 
-LOCAL_SRC_FILES := lib.c
+LOCAL_SRC_FILES := lib.c canframelen.c
 LOCAL_MODULE := libcan
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/
 LOCAL_CFLAGS := $(PRIVATE_LOCAL_CFLAGS)
@@ -86,6 +86,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := canbusload.c
 LOCAL_MODULE := canbusload
 LOCAL_MODULE_TAGS := optional
+LOCAL_STATIC_LIBRARIES := libcan
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/
 LOCAL_CFLAGS := $(PRIVATE_LOCAL_CFLAGS)
 
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-31 10:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-31 10:25 [PATCH] Android.mk: canbusload: make use of libcan Marc Kleine-Budde
2014-01-31 10:47 ` Yegor Yefremov
2014-01-31 10:51   ` Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.