summaryrefslogtreecommitdiffstats
path: root/libc/kernel/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge c4cb87f3Jean-Baptiste Queru2012-02-011-11/+1
|\ | | | | | | Change-Id: I4cc14eba43fde75a7702fdc7ad07d3d949e9c092
| * remove obsolete SuperH supportDavid 'Digit' Turner2012-01-311-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't have a toolchain anymore, we don't have working original kernel headers, and nobody is maintaining this so there is really no point in keeping this here. Details of the patch: - removed code paths from Android.mk files related to the SuperH architecture ("sh") - removed libc/arch-sh, linker/arch-sh, libc/kernel/arch-sh - simplified libc/SYSCALLS.TXT - simplified the scripts in libc/tools/ and libc/kernel/tools Change-Id: I26b0e1422bdc347489e4573e2fbec0e402f75560 Signed-off-by: David 'Digit' Turner <digit@android.com>
* | Fix misspelled Python variable name and typosGlenn Kasten2012-01-132-4/+4
|/ | | | | | | | Typos: - Update pathname in README.txt - Fix missing newlines in header update script. Change-Id: Ib0e053f92a27ff10071b9805fa64e5653ab31b0c
* Fixed bug where -k option would not be passed to cleanupFile functionFrank Maker2011-05-251-3/+3
| | | | Changed cleanupFile to have no default original path, forcing it to be passed instead, thereby conforming to the Google Python style guide.
* libc: Update auto-gen scriptsDavid 'Digit' Turner2011-02-037-177/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* libc: fix kernel cleanup script typo.David 'Digit' Turner2011-01-111-1/+1
| | | | Change-Id: I5fc119be535ed47dadc780234665335efa6b9ac5
* Replace all occurrances of asm with __asm__ in the output headersMartin Storsjo2010-12-082-0/+6
| | | | | | | | | | asm() conflicts with userland code compiled with -std=c99, the userland libc should only use __asm__() instead. Therefore, this transformation has to be applied to all exported headers. This only changes arch-arm/asm/byteorder.h. Change-Id: I1cf88c37201c3a91668d387293a18885c316d53c
* Add a method for replacing tokens in the preprocessed headersMartin Storsjo2010-12-081-0/+10
| | | | Change-Id: I14cf6337945560b012732ae0fe7a247074810678
* Regenerate linux/netfilter_ipv6/ip6_tables.h.Vilmos Nebehaj2010-06-281-0/+1
| | | | | | | Add ip6t_get_target() to kernel_known_generic_statics in libc/kernel/tools/defaults.py to be able to build ip6tables. Change-Id: Iadb885db3faa85b2d0070dc2e0ac493af6e62bb6
* merge from open-source masterJean-Baptiste Queru2009-10-141-2/+12
|\
| * Merge change 10539Android Code Review2009-09-171-2/+12
| |\ | | | | | | | | | | | | * changes: modified kernel headers re-generate tools to support SuperH architecture
| | * modified kernel headers re-generate tools to support SuperH architectureShin-ichiro KAWASAKI2009-07-011-2/+12
| | |
* | | libc: kernel: let clean_header tool take path to kernel originals as argumentDima Zavin2009-08-051-1/+3
|/ / | | | | | | Signed-off-by: Dima Zavin <dima@android.com>
* | Add <linux/ipsec.h> and <linux/if_pppolac.h> for VPN support.David 'Digit' Turner2009-05-201-1/+3
| | | | | | | | Also update tools/update_all.py to not use perforce add/edit/delete commands automatically now that we're using git
* | auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-038-0/+3485
| |
* | auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-038-3485/+0
|/
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-093-0/+33
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-173-9/+40
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-218-0/+3421