files.x86 is for the parts of the system that are common to both i386 and amd64
due too their nature. First up, to get the ball rolling, is fdc, the floppy disk
support. It works only on amd64 and i386 these days, and that's unlikely to
change.
Details
Details
- Reviewers
jhb cem - Commits
- rS350965: Create files.x86
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 25810 Build 24382: arc lint + arc unit
Event Timeline
Comment Actions
This commit is purposely thin to get the framework up and going so we can focus on framework issues.
Comment Actions
Ah, I had thought we would use 'include' in files.i386 and files.amd64 rather than DEFAULTS, but either way is fine with me.
Comment Actions
I would have, except that no such directive exists inside of files* files. config is annoyingly non-orthogonal.
Comment Actions
Oh, I thought it seemed to be there from the code I read on Friday:
static void read_file(char *fname) { ... /* * include "filename" * filename [ standard | optional ] * [ dev* [ | dev* ... ] | profiling-routine ] [ no-obj ] * [ compile-with "compile rule" [no-implicit-rule] ] * [ dependency "dependency-list"] [ before-depend ] * [ clean "file-list"] [ warning "text warning" ] * [ obj-prefix "file prefix"] */ ... if (eq(wd, "include")) { wd = get_quoted_word(fp); if (wd == (char *)EOF || wd == NULL) errout("%s: missing include filename.\n", fname); (void) snprintf(ifname, sizeof(ifname), "../../%s", wd); read_file(ifname); while (((wd = get_word(fp)) != (char *)EOF) && wd) ; goto next; }
Comment Actions
oh my! It's completely unused in the tree then...
seems to work though, so I'll switch.