Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

  • From: Robert Millan <rmh@xxxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Sun, 30 Aug 2015 12:22:47 +0200

El 16/08/15 a les 13:09, Robert Millan ha escrit:

* It includes code from other people under GPLv2; I'm not sure if this may be
an issue wrt licensing
policy of Rump as this is only targetted at the pci-userspace module. In any
case if you
think it's an issue let me know and we'll try to find a solution:
...
- experimentalUser.c is an automatically generated file copied from the Hurd
build tree. I
would welcome some help from MIG experts on how to do this in a more
elegant way.

I figured out how to generate those off-tree and wrote a small Makefile snippet
to do it:

experimentalUser.c experimental_U.h:
echo '#include <mach/experimental.defs>' \
| gcc -E -x c - -o - \
| mig -cc cat - /dev/null -subrprefix __ \
-user experimentalUser.c \
-server /dev/null \
-header experimental_U.h

However no matter how I try to tell rumpmake the experimentalUser.c build
instructions, it seems uncapable
of doing so:

nbmake[1]: don't know how to make experimentalUser.c. Stop

I've tried using absolute paths to rule out that it's a cwd problem, but still
same error.

Any idea what I'm doing wrong?

--
Robert Millan

Other related posts: