aboutsummaryrefslogtreecommitdiff
path: root/scripts/genconfig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genconfig.sh')
-rwxr-xr-xscripts/genconfig.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index 8d5f98ca..c16974d7 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -84,6 +84,12 @@ EOF
#endif
EOF
+ probesymbol TOYBOX_ANDROID_SCHEDPOLICY << EOF
+ #include <cutils/sched_policy.h>
+
+ int main(int argc,char *argv[]) { get_sched_policy_name(0); }
+EOF
+
# nommu support
probesymbol TOYBOX_FORK << EOF
#include <unistd.h>