summaryrefslogtreecommitdiffstats
path: root/libc/kernel/tools/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some of our python scripts.Elliott Hughes2014-08-201-80/+9
| | | | Change-Id: Ifa75345db43434298cfb6113fbe2f7a33b88c79d
* Slight script cleanup; make gensyscalls work from any directory.Elliott Hughes2013-06-171-55/+0
| | | | | | Also remove a ton of dead code. Change-Id: I1315623695a004f643b155f121cbafe24b715b8a
* Remove some dead script code and fix a script comment.Elliott Hughes2013-03-251-111/+0
| | | | Change-Id: I91ca466d1b6f8a39da50ce61acebc268d0daab3a
* Clean up trailing whitespace in the kernel headers.Elliott Hughes2013-01-301-46/+1
| | | | | | And fix the scripts so they stop letting trailing whitespace through. Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
* libc: Update auto-gen scriptsDavid 'Digit' Turner2011-02-031-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the scripts use external/kernel-headers/original by default. clean_header.py: Document -k<path>, add -d<path> find_headers.py: Make kernel config files optional update_all.py: Allow setting the path to kernel headers on the command-line update_all.py: Better formatting of output on ttys update_all.py: Automatically perform "git add/rm" on affected files. SYSCALLS.TXT: Fix typo in __socketcall definition. checksyscalls.py: Add support for superH architecture in the checks. gensyscalls.py: Automatically perform "git add/rm" on affected files. cpp.py: Fixed a bug that prevented certain type definitions to be kept in the generated clean header (e.g. struct ethtool_drvinfo in <linux/ethtool.h>) All scripts will use the content of external/kernel-headers/original by default now. The generated code removes all empty lines and trailing whitespace. This is useful to ensure a unified output even if we change the parser again in the future. The top-level disclaimer has been edited with update instructions to regenerate the headers when needed. Also, a warning is now inserted every 8th line in the final output: /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ Changes under kernel/arch-arm and kernel/arch-x86 should correspond to whitespace differences and additionnal struct definitions that were missed by the previous parser implementation. Change-Id: Icd1c056bacd766759f3e9b7bb5d63a246f3d656a WARNING: If you run these script, do not submit the result to gerrit for now. It seems there are discrepancies between the content of original headers and those currently commited under bionic/libc/kernel/. (This problem is the main motivation to insert the warning repeatedly). Current list of issues: - Missing SuperH headers (i.e. external/kernel-headers/original/asm-sh)
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+397
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-397/+0
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-211-0/+397