On Thu, Oct 1, 2009 at 11:29 AM, Uwe Hermann uwe@hermann-uwe.de wrote:
+ifeq ($(CONFIG_CPU_AMD_GX1),y) +crt0-y += ../../../../src/cpu/amd/model_gx1/cpu_setup.inc +crt0-y += ../../../../src/cpu/amd/model_gx1/gx_setup.inc +crt0-y += auto.inc
let's stick with the standard way of doing this. It makes any automated tools easier.
crt0-$(CONFIG_CPU_AMD_GX1) += ./../../../src/cpu/amd/model_gx1/cpu_setup.inc crt0-$(CONFIG_CPU_AMD_GX1) +=../../../../src/cpu/amd/model_gx1/gx_setup.inc
Pretty much all the crt0-y in that makefile should actually have conditional variables if we really want to make it that general.
and so on.
thanks
ron