[coreboot] Trying to add Kconfig support for M57SLI - build error

Myles Watson mylesgw at gmail.com
Fri Aug 21 18:31:11 CEST 2009


> This problem is not directly related to Kconfig, but it seems that I
> misunderstand something in the compiler errors, or that I'm not able to fix
> this one.
>
> The log of make:
>
> hargut at benchvice:~/cb-v2$ make
>    GEN        build/build.h
>    CC         build/northbridge/amd/amdk8/misc_control.o
> In file included from src/northbridge/amd/amdk8/amdk8.h:6,
>                 from src/northbridge/amd/amdk8/misc_control.c:22:
> src/northbridge/amd/amdk8/amdk8_f.h:524:21: error: macro "hard_reset" passed 1
> arguments, but takes just 0

I'm having similar problems (at least it looks similar to me).  My
ck804_reset.c file never gets compiled.

Here is my src/southbridge/nvidia/ck804/Makefile.inc:

driver-y += ck804.o
driver-y += ck804_usb.o
driver-y += ck804_lpc.o
driver-y += ck804_smbus.o
driver-y += ck804_ide.o
driver-y += ck804_sata.o
driver-y += ck804_usb2.o
driver-y += ck804_ac97.o
driver-y += ck804_nic.o
driver-y += ck804_pci.o
driver-y += ck804_pcie.o
driver-y += ck804_ht.o
object-y += ck804_reset.o

object-$(CONFIG_HAVE_ACPI_TABLES) +=ck804_fadt.o

All of the drivers get compiled, but the two objects are never compiled.

Any suggestions?

Thanks,
Myles




More information about the coreboot mailing list