summaryrefslogtreecommitdiffstats
path: root/scripts/include
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Add big endian conversion macros to endian.hSascha Hauer2016-04-281-0/+44
| | | | | | Some programs need the big endian macros, add them to andian.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts/include: Add ARRAY_SIZESascha Hauer2016-02-021-0/+2
| | | | | | | ARRAY_SIZE is another define commonly used in tools. Add it to the kernel includes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: Add common header files for toolsSascha Hauer2016-02-0230-0/+1975
This imports the tools/include dir from the Kernel as of 4.5-rc1 to barebox. The Kernel has many useful defines and helpers which are often duplicated in the different tools. Let's create a copy of them in a common place for all tools. Some files have been skipped for now as I currently see no use for them: include/linux/filter.h include/linux/hash.h include/linux/rbtree.h include/linux/rbtree_augmented.h They can be added later if needed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>