summaryrefslogtreecommitdiffstats
path: root/scripts/include
Commit message (Collapse)AuthorAgeFilesLines
* recursive_action: add ACTION_SORT flagBaeuerle, Florian2019-01-081-0/+1
| | | | | | | | | | | Add a flag to sort directory entries before recursing into them. Since this part of lib/ is used inside barebox as well as in scripts/bareboxenv.c, we cannot easily use stringlists from lib/, which would have made the code a bit nicer. Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: Make list implementation usableSascha Hauer2019-01-032-2/+2
| | | | | | | | The list implementation in scripts/ includes poison.h which doesn't exist. Remove the inclusion and add the defines from poison.h that we need. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 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>