Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > I think the problem is that I haven't allocated system call numbers for > > any arches other than x86 - even the x86 syscall numbers are provisional > > until the patchset is taken upstream. I'm not sure of the best way to > > deal with this - make the samples dependent on the X86 arch? > > But the sample programs are built with HOSTCC, so you can't depend on > ARCH (since I, for one, am cross compiling). Maybe SUBARCH. Better > would be to use either Kconfig's shell primitive or some make magic to > figure out if the syscall number define's are defined. I meant put the dependency in the Kconfig. David