15d3fef0da03a8548fd25ec75381e86eea5c6882 |
|
24-Feb-2017 |
Christopher Ferris <cferris@google.com> |
Refactor the kernel update scripts. The previous versions of the scripts did a lot of redundant changes and were hard to follow. I rewrote most of update_all.py so that it's clear about what's going on. I updated clean_header.py to change the cleanupFile function so that there is no magic about where the destination file is going to wind up. Now the caller specifies the final location. I updated utils.py so that if you are trying to do an update in one location, but your lunch target is from another location, it causes an error. Bug: 35726570 Change-Id: Ic5a44d90c2774a627eecde34c0c403bc925a497c Test: Ran the updater and verified it works properly. Test: Verified that doing an update in one tree to another tree Test: fails.
|
d12c332018143e731337292910b03fa0f41b2ca2 |
|
15-Sep-2015 |
Christopher Ferris <cferris@google.com> |
Add support for manually modified kernel headers. This changes the scripts so that if some kernel files exists in external/kernel-headers/modified, that they will be preferred over the same files found in original. This is to support the case where the kernel headers cannot be taken without some small modifications. Included with this change, is a general cleanup of the python scripts. This also modifies the generate uapi headers script to indicate if the source of the modified headers has changed. Change-Id: Id13523b244ced52a2ecd9f1399c43996dd8296fa
|
dc1fb7000adb77c647f70428fd6ce224e3938220 |
|
20-Aug-2014 |
Elliott Hughes <enh@google.com> |
Clean up some of our python scripts. Change-Id: Ifa75345db43434298cfb6113fbe2f7a33b88c79d
|
18bc975bfe41a0ef8d2df1a188078b0741dc6c25 |
|
17-Jun-2013 |
Elliott Hughes <enh@google.com> |
Slight script cleanup; make gensyscalls work from any directory. Also remove a ton of dead code. Change-Id: I1315623695a004f643b155f121cbafe24b715b8a
|
e6ddfc55c874bda9a6178d898a79042b9a1c235d |
|
25-Mar-2013 |
Elliott Hughes <enh@google.com> |
Remove some dead script code and fix a script comment. Change-Id: I91ca466d1b6f8a39da50ce61acebc268d0daab3a
|
c95eb57405d3d2f0e6cfab313aa74b1bad280452 |
|
30-Jan-2013 |
Elliott Hughes <enh@google.com> |
Clean up trailing whitespace in the kernel headers. And fix the scripts so they stop letting trailing whitespace through. Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
|
fc2693110ee8a2ba22a445ad9855fbe9e118d439 |
|
11-Oct-2010 |
David 'Digit' Turner <digit@google.com> |
libc: Update auto-gen scripts 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)
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|