Hi All,

To test the power of Tup I am attempting to build gittup.org from scratch, 
however I am having trouble modifying the kernel configuration to add 
drivers.

My host system is Arch Linux with gcc 4.9.2

I have managed to build gittup using the example-tup.config and it boots in 
VirtualBox on Windows OK.

I then modified the config to add drivers for VirtualBox emulated network 
drivers and AC'97 audio device.

Here is the diff of my tup.config from the example: 
https://gist.github.com/anonymous/78dfcda4c6a1f1a11526

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'
 3) [0.146s] initrd/bin
 4) [0.022s] initrd
 5) [0.059s] linux/arch/x86/kernel/acpi
 6) [0.024s] linux/arch/x86/kernel/apic
 7) [0.044s] linux/arch/x86/kernel/cpu/mtrr
 8) [0.040s] linux/arch/x86/kernel/cpu
 9) [0.110s] linux/arch/x86/kernel
 *** tup: stderr from command '../../../linux.py BITS=32' ***
Who knows: vmlinux.lds
 10) [0.090s] linux/arch/x86/lib
 11) [0.083s] linux/arch/x86/mm
 12) [0.024s] linux/arch/x86
 13) [0.054s] linux/arch/x86/pci
 14) [0.023s] linux/arch/x86/power
 15) [0.090s] linux/drivers/char
 16) [0.063s] linux/drivers/hid
 17) [0.047s] linux/init
 18) [0.148s] linux/kernel
 19) [0.159s] linux/lib
 20) [0.095s] linux/net/core
 21) [0.027s] linux/net/ethernet
 22) [0.163s] linux/net/ipv4
 23) [0.109s] linux/net/ipv6
 24) [0.003s] linux/drivers/cdrom
 25) [0.023s] linux/drivers/usb/storage
 26) [0.003s] linux/drivers/usb
 27) [0.008s] linux/drivers/ata
 28) [0.005s] linux/drivers
tup error: Explicitly named file 'built-in.o' not found in subdir 
'linux/drivers/scsi'
 29) [0.004s] linux/sound/pci/ac97
 30) [0.004s] linux/sound/pci
 31) [0.006s] linux/sound
 32) [0.002s] linux/net/802
 33) [0.004s] linux/net
* 34) [0.002s] linux
tup error: Explicitly named file 'built-in.o' in subdir 'linux/drivers' is 
scheduled to be deleted (possibly the command that created it has been 
removed).
tup error: Error parsing Tupfile line 28
  Line was: ': $(head-y) $(link-y) arch/x86/kernel/vmlinux.lds | 
$(compiler_files) |> ^ LINK %o^ $(LD) -m elf_i386 --emit-relocs --build-...'
 [       ETA~=<1s Remaining=2         ]  94%
 *** tup: 1 job failed.

Thanks!
Sek

-- 
-- 
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.

Reply via email to