diff options
author | Rob Landley <rob@landley.net> | 2015-04-19 21:50:51 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-04-19 21:50:51 -0500 |
commit | 5b493dc48db03c7e27c8ce002fe216bcd778fe92 (patch) | |
tree | b7bb7af18aff4d01bab1b635384d455add1aeb33 /scripts | |
parent | 3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9 (diff) | |
download | toybox-5b493dc48db03c7e27c8ce002fe216bcd778fe92.tar.gz toybox-5b493dc48db03c7e27c8ce002fe216bcd778fe92.tar.bz2 toybox-5b493dc48db03c7e27c8ce002fe216bcd778fe92.zip |
Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 broke
alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genconfig.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index ead5b8a..b8dc3c7 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -65,6 +65,13 @@ EOF struct spwd *a = getspnam("root"); return 0; } EOF + + # Some commands are android-specific + probesymbol TOYBOX_ON_ANDROID -c << EOF + #ifndef __ANDROID__ + #error nope + #endif +EOF } genconfig() |