summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-09-23 16:07:53 -0400
committerScott Murray <scott.murray@konsulko.com>2020-09-25 20:27:39 +0000
commitcc0c59a74271550604e1aaf55bdccd7de7e4b872 (patch)
tree570173a128a674e6b98006b32ad05a758b75b939 /Makefile
parent16d663dd4babeb5c14f165c7a397b70bd1b23463 (diff)
Update to match current binding expectations
Changes: - Reworked header, footer, message structure definition, etc. to match the contents of the current generated files in the binding. - To enable the above, added some code to derive the API name for the app controller CAPI macro from the name given for the message set in the JSON. The name is lower-cased and spaces converted to dashes, this matches all the examples in the generated files in the binding. - Added logic to default message length to 8 if not set in JSON, this is required to match explicit checks and signal JSON changes in the binding. - Replaced is_bigendian and is_signed fields with new sign and bit_sign_position fields in JSON parsing and generated signal output. The sign field value enum has been copied from the binding to provide a reference for the values. - Update per-signal flags generation, to enable this updated flag #defines from binding's current can-message.hpp. Added a comment to document which flags are known to be used. - Removed "package" from "all" target in Makefile, as it is attached to widget packaging rules that are not applicable for the generator, which is built for host or toolchain usage. - Removed unused src/main.hpp header to avoid confusion. Bug-AGL: SPEC-3551 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9ef3df0ebcfbddc23c789b50e1575fc42031970d (cherry picked from commit 0a3e354c3d81866e1a755367ab5592b3ced868bb)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 658ef32..35eed16 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ BUILD_DIR := build
.PHONY: all clean mrproper ${BUILD_DIR}/Makefile
-all: build package
+all: build
clean:
@([ -d ${BUILD_DIR} ] && make -C ${BUILD_DIR} clean) || echo Nothing to clean