Commit Graph

13 Commits (5d8248096e619e74e2bcfb71e92e1d92939dca17)

Author SHA1 Message Date
Ahmad Fatoum 5d8248096e
Merge branch 'master' into cansequence 2020-07-20 18:52:39 +02:00
Göran Mannberg af531c3d52 Update Android.mk
Fixed typo in LOCAL_MODULE isotpsniffer
2020-07-06 08:47:35 +02:00
Oliver Hartkopp 62f995601e Android.mk: Introduce LOCAL_VENDOR_MODULE to build in AOSP tree
Change path for canutils modules from system/bin to vendor/bin in the
case of building in AOSP tree.

https://github.com/linux-can/can-utils/pull/204

Suggested-by: Pavel Salomatov https://github.com/PsycheEYE
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
2020-06-04 18:02:10 +02:00
Oliver Hartkopp 647210ee1c Android.mk: Add missing targets
The J1939 tools and asc2log was missing in the Android build.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
2020-06-04 18:02:10 +02:00
Gary Bisson da42cf4bb5 Android.mk: fix Android 10 build
Android now uses clang with Werror by default which prevents from
building.
Removing Werror for the current warnings.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-05-29 17:58:23 +02:00
Ahmad Fatoum f6676e58f4 can-utils: import PTX cansequence utility
The PTX flavour canutils[1] have a useful utility for generating a
sequence of CAN frames with an incrementing payload and checking such a
sequence for missed and reordered frames.

Recently, it has helped finding a regression in the kernel pfifo_fast
qdisc, which led to reordered frames[2].

To bring the utility to a greater audience, import the current state[3]
of it into the linux-can set of utilities.

[1]: https://git.pengutronix.de/cgit/tools/canutils
[2]: https://lore.kernel.org/netdev/661cc33a-5f65-2769-cc1a-65791cb4b131@pengutronix.de
[3]: 207a476b5 ("cansequence: print error frames in hex")

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
[afa: code by mkl, I removed --version and fixed an off by one in strncpy]
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
2020-02-14 16:22:22 +01:00
Oliver Hartkopp c1ac5613fd can-utils: added isotpperf tool for performance measurements
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
2015-02-04 10:17:38 +01:00
Marc Kleine-Budde 02d32df1dc Android.mk: canbusload: fix compilation, make use of libcan
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.

Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-01-31 11:52:20 +01:00
Marc Kleine-Budde 9c82d462f4 Android.mk: remove executable bit
This was added, probably by accident in commit:

    103fd96 can-utils: fix local header path for AOSP build

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-01-16 16:50:42 +01:00
Yegor Yefremov d7496a0bf0 can-utils: AOSP build clean up
Remove unneeded includes. Both AOSP and NDK builds tested.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-07-10 11:04:40 +02:00
Yegor Yefremov df76977207 can-utils: AOSP build improvements
Add local headers and GCC flags for all can-utils targets.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-02-18 10:21:34 +01:00
Yegor Yefremov 103fd9631b can-utils: fix local header path for AOSP build
Use path relative to the can-utils source code and to root of
the AOSP repository.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-02-01 10:32:06 +01:00
Yegor Yefremov ba9b18932a can-utils: add Makefile for Android build system
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-03-20 11:16:43 +01:00