summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdk8/Config.lb
blob: de9c1935120057a60ab48c6bbefec79e6847ab1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
uses CONFIG_CHIP_NAME
uses AGP_APERTURE_SIZE
uses HAVE_ACPI_TABLES

default AGP_APERTURE_SIZE=0x4000000

if CONFIG_CHIP_NAME
	config chip.h
end

object northbridge.o
driver misc_control.o

makerule raminit_test
	depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c"
	depends "$(TOP)/src/northbridge/amd/amdk8/raminit.c"
	action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g  $< -o $@"
end

if HAVE_ACPI_TABLES
	object amdk8_acpi.o
        makerule ssdt.c
                depends "$(TOP)/src/northbridge/amd/amdk8/ssdt.dsl"
                action  "iasl -tc $(TOP)/src/northbridge/amd/amdk8/ssdt.dsl"
                action  "perl -pi -e 's/AmlCode/AmlCode_ssdt/g' ssdt.hex"
                action  "mv ssdt.hex ssdt.c"
        end
        object ./ssdt.o
end


object get_sblk_pci1234.o