reports.c: add needport_list() in builds-[arch].sh files

This commit is contained in:
Silvan Calarco 2013-05-04 17:02:04 +02:00
parent 513c96ecb2
commit 67b53d8af7
2 changed files with 13 additions and 1 deletions

View File

@ -2024,6 +2024,18 @@ print_datatables(struct configTag *ct, int arch) {
}
fprintf(fbsh,");\n");
fprintf(fbsh,"needport_list=(");
currheadersourcelist = ct->headersourcelist;
while (currheadersourcelist != NULL) {
if (!currheadersourcelist->firstchild[arch] &&
currheadersourcelist->old &&
currheadersourcelist->old->firstchild[arch]) {
fprintf(fbsh,"%s ",currheadersourcelist->name);
}
currheadersourcelist = currheadersourcelist->next;
}
fprintf(fbsh,");\n");
currheadersourcelist = ct->headersourcelist;
logmsg(LOG_DEBUG,"writing builds and sources files (2)");
while (currheadersourcelist != NULL) {