Thanks Mike, $ tup --version tup 0.7.3
I will try your suggestion tomorrow. Silly me, I had assumed that every part of the kernel build tree had been ported to Tup, I guess it would be a ton of work. Cheers, Sek On Tuesday, 10 November 2015 15:36:47 UTC, [email protected] wrote: > > Hi Sek, > > On Tue, Nov 10, 2015 at 8:30 AM, Sekenre <[email protected] > <javascript:>> wrote: > >> The output I get from Tup is: >> >> [ tup ] [0.000s] Scanning filesystem... >> [ tup ] [4.420s] Parsing Tupfiles... >> 1) [0.001s] . >> 2) [0.007s] linux/drivers/net >> tup error: Explicitly named file 'built-in.o' not found in subdir >> 'linux/drivers/net/e1000' >> > > tup should be stopping with an error here, rather than continuing to parse > other Tupfiles. What version are you using? > > Ultimately the problem is that I didn't convert the entire Linux kernel to > build with up, just enough to get it building with a subset of the drivers > to run in qemu with some minimal graphics capabilities :). The e1000 and > e1000e directories are straightforward, so you can just add a Tupfile to > them and they will work: > > cp linux/net/wireless/Tupfile linux/net/e1000 > cp linux/net/wireless/Tupfile linux/net/e1000e > > The scsi directory is a little more complicated since it has raw make > rules, which the linux/build.lua script doesn't support. However, those raw > rules don't appear to be needed for the drivers you have selected, so you > can do: > > cp linux/net/wireless/Tupfile linux/drivers/scsi > > and apply this patch: > > diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile > index 61a94af..585af96 100644 > --- a/drivers/scsi/Makefile > +++ b/drivers/scsi/Makefile > @@ -174,14 +174,14 @@ oktagon_esp_mod-objs := oktagon_esp.o > oktagon_io.o > # Files generated that shall be removed upon make clean > clean-files := 53c700_d.h 53c700_u.h > > -$(obj)/53c700.o $(MODVERDIR)/$(obj)/53c700.ver: $(obj)/53c700_d.h > +#$(obj)/53c700.o $(MODVERDIR)/$(obj)/53c700.ver: $(obj)/53c700_d.h > > # If you want to play with the firmware, uncomment > # GENERATE_FIRMWARE := 1 > > -ifdef GENERATE_FIRMWARE > - > -$(obj)/53c700_d.h: $(src)/53c700.scr $(src)/script_asm.pl > - $(PERL) -s $(src)/script_asm.pl -ncr7x0_family $@ $(@:_d.h=_u.h) > < $< > - > -endif > +#ifdef GENERATE_FIRMWARE > +# > +#$(obj)/53c700_d.h: $(src)/53c700.scr $(src)/script_asm.pl > +# $(PERL) -s $(src)/script_asm.pl -ncr7x0_family $@ $(@:_d.h=_u.h) > < $< > +# > +#endif > > Then it builds for me with your configuration. > > Hope that helps! > > -Mike > -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
