[Buildroot] [git commit] jsmn: new package
Peter Korsgaard
peter at korsgaard.com
Sat Jan 28 13:37:22 UTC 2017
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=c8bd91bf8958b9644b9fe1965dd81b19507f0a7f
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Signed-off-by: David Bachelart <david.bachelart at bbright.com>
> [Thomas:
> - fix license, it's MIT, not BSD
> - use TARGET_CONFIGURE_OPTS instead of manually passing CC and AR
> - use full destination path
> - keep only sha256 hash
> - rewrap Config.in help text]
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
[snip]
> +define JSMN_INSTALL_STAGING_CMDS
> + $(INSTALL) -m 0644 $(@D)/libjsmn.a $(STAGING_DIR)/usr/lib/libjsmn.a
> + $(INSTALL) -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
We normally use install -D to create the destination directories if
needed. I agree that these directories are very likely to be created
already, but for consistency -D would be nice.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list