On Tue, Mar 29, 2011 at 3:01 AM, Nils njacobs8@hetnet.nl wrote:
Hi Marc, Thanks for your answer!
It is working for me. I thought that the basename issue had been addressed. Can you try with the libpayload local install and using the sample makefile?
in libpayload:
make distclean make defconfig make install
in libpayload sample: make
It seems not to work that way on my Debian system.
Following the readme i only downloaded libpayload and put my example file (hello.c + makefile) in the directory "/hello" :
nils@debian:~$ svn co svn://coreboot.org/repos/trunk/payloads/libpayload A libpayload/crypto A libpayload/crypto/Makefile.inc A libpayload/crypto/sha1.c A libpayload/sample A libpayload/sample/hello.c A libpayload/sample/Makefile A libpayload/Doxyfile A libpayload/include A libpayload/include/powerpc A libpayload/include/powerpc/arch A libpayload/include/powerpc/arch/endian.h A libpayload/include/powerpc/arch/types.h A libpayload/include/powerpc/arch/virtual.h A libpayload/include/powerpc/arch/io.h A libpayload/include/sysinfo.h A libpayload/include/pci.h A libpayload/include/lar.h A libpayload/include/libpayload.h A libpayload/include/getopt.h A libpayload/include/curses.priv.h A libpayload/include/i386 A libpayload/include/i386/arch A libpayload/include/i386/arch/endian.h A libpayload/include/i386/arch/rdtsc.h A libpayload/include/i386/arch/msr.h A libpayload/include/i386/arch/types.h A libpayload/include/i386/arch/virtual.h A libpayload/include/i386/arch/io.h A libpayload/include/usb A libpayload/include/usb/usb.h A libpayload/include/usb/usbmsc.h A libpayload/include/usb/usbdisk.h A libpayload/include/curses.h A libpayload/include/coreboot_tables.h A libpayload/include/multiboot_tables.h A libpayload/include/video_console.h A libpayload/configs A libpayload/configs/defconfig A libpayload/README A libpayload/curses A libpayload/curses/local.h A libpayload/curses/keyboard.c A libpayload/curses/colors.c A libpayload/curses/Makefile.inc A libpayload/curses/tinycurses.c A libpayload/LICENSES A libpayload/lib A libpayload/lib/libpayload.ldscript A libpayload/bin A libpayload/bin/lpas A libpayload/bin/lp.functions A libpayload/bin/lpgcc A libpayload/libc A libpayload/libc/time.c A libpayload/libc/console.c A libpayload/libc/printf.c A libpayload/libc/Makefile.inc A libpayload/libc/lib.c A libpayload/libc/string.c A libpayload/libc/malloc.c A libpayload/libc/memory.c A libpayload/libc/lar.c A libpayload/libc/getopt_long.c A libpayload/libc/readline.c A libpayload/libc/ctype.c A libpayload/libc/exec.c A libpayload/libc/rand.c A libpayload/libc/sysinfo.c A libpayload/libc/ipchecksum.c A libpayload/Config.in A libpayload/Makefile A libpayload/arch A libpayload/arch/powerpc A libpayload/arch/powerpc/timer.c A libpayload/arch/powerpc/head.S A libpayload/arch/powerpc/Makefile.inc A libpayload/arch/powerpc/exec.S A libpayload/arch/powerpc/main.c A libpayload/arch/powerpc/virtual.c A libpayload/arch/powerpc/sysinfo.c A libpayload/arch/powerpc/coreboot.c A libpayload/arch/powerpc/util.S A libpayload/arch/i386 A libpayload/arch/i386/multiboot.c A libpayload/arch/i386/timer.c A libpayload/arch/i386/head.S A libpayload/arch/i386/Makefile.inc A libpayload/arch/i386/exec.S A libpayload/arch/i386/main.c A libpayload/arch/i386/virtual.c A libpayload/arch/i386/sysinfo.c A libpayload/arch/i386/coreboot.c A libpayload/arch/i386/util.S A libpayload/util A libpayload/util/kconfig A libpayload/util/kconfig/zconf.tab.c_shipped A libpayload/util/kconfig/zconf.gperf A libpayload/util/kconfig/lkc_proto.h A libpayload/util/kconfig/mconf.c A libpayload/util/kconfig/menu.c A libpayload/util/kconfig/zconf.y A libpayload/util/kconfig/symbol.c A libpayload/util/kconfig/check.sh A libpayload/util/kconfig/images.c A libpayload/util/kconfig/qconf.cc A libpayload/util/kconfig/POTFILES.in A libpayload/util/kconfig/qconf.h A libpayload/util/kconfig/zconf.hash.c_shipped A libpayload/util/kconfig/util.c A libpayload/util/kconfig/expr.c A libpayload/util/kconfig/lkc.h A libpayload/util/kconfig/kconfig_load.c A libpayload/util/kconfig/confdata.c A libpayload/util/kconfig/lxdialog A libpayload/util/kconfig/lxdialog/dialog.h A libpayload/util/kconfig/lxdialog/check-lxdialog.sh A libpayload/util/kconfig/lxdialog/inputbox.c A libpayload/util/kconfig/lxdialog/checklist.c A libpayload/util/kconfig/lxdialog/BIG.FAT.WARNING A libpayload/util/kconfig/lxdialog/menubox.c A libpayload/util/kconfig/lxdialog/textbox.c A libpayload/util/kconfig/lxdialog/util.c A libpayload/util/kconfig/lxdialog/yesno.c A libpayload/util/kconfig/lex.zconf.c_shipped A libpayload/util/kconfig/expr.h A libpayload/util/kconfig/conf.c A libpayload/util/kconfig/gconf.glade A libpayload/util/kconfig/kxgettext.c A libpayload/util/kconfig/zconf.l A libpayload/util/kconfig/gconf.c A libpayload/util/kconfig/Makefile A libpayload/drivers A libpayload/drivers/serial.c A libpayload/drivers/keyboard.c A libpayload/drivers/nvram.c A libpayload/drivers/Makefile.inc A libpayload/drivers/video A libpayload/drivers/video/font8x16.h A libpayload/drivers/video/video.c A libpayload/drivers/video/geodelx.c A libpayload/drivers/video/font8x16.c A libpayload/drivers/video/vga.c A libpayload/drivers/usb A libpayload/drivers/usb/usbhid.c A libpayload/drivers/usb/uhci_rh.c A libpayload/drivers/usb/TODO A libpayload/drivers/usb/usb_dev.c A libpayload/drivers/usb/uhci.c A libpayload/drivers/usb/usbhub.c A libpayload/drivers/usb/usb.c A libpayload/drivers/usb/usbmsc.c A libpayload/drivers/usb/uhci.h A libpayload/drivers/usb/usbinit.c A libpayload/drivers/speaker.c A libpayload/drivers/options.c A libpayload/drivers/pci.c U libpayload Checked out revision 4892.
Nils,
Oh the instructions are out of date and point at the old v3(?) repo.
svn://coreboot.org/coreboot/trunk/payloads/libpayload
Marc