#
4768386a |
|
18-Aug-2016 |
Brian Swetland <swetland@google.com> |
[lib][cksum] new style build config of shared user/kernel libraries 1. The kernel build globs all includes into one global -I space, but the user build depends on public includes being relative to the module source, so the "canonical" source needs to live in the .../ulib/$module/... space so .../ulib/$module/include/... contains the public headers: This is third_party/ulib/cksum for libcksum 2. The kernel version of the module simply needs to reference the canonical source and contains only a rules.mk, as in: third_party/lib/cksum 3. If there are public headers, the kernel side rules.mk must add them to the kernel include space, like the above does: KERNEL_INCLUDES += $(SRC_DIR)/include Change-Id: Ia1a5af22844f22e2c027dcaea7e7b7cf35d00ab2
|