diff options
Diffstat (limited to 'arch/blackfin/Makefile')
-rw-r--r-- | arch/blackfin/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 6bf50977850c..e550c8d46066 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -21,6 +21,10 @@ KALLSYMS += --symbol-prefix=_ | |||
21 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig | 21 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig |
22 | 22 | ||
23 | # setup the machine name and the machine dependent settings | 23 | # setup the machine name and the machine dependent settings |
24 | machine-$(CONFIG_BF512) := bf518 | ||
25 | machine-$(CONFIG_BF514) := bf518 | ||
26 | machine-$(CONFIG_BF516) := bf518 | ||
27 | machine-$(CONFIG_BF518) := bf518 | ||
24 | machine-$(CONFIG_BF522) := bf527 | 28 | machine-$(CONFIG_BF522) := bf527 |
25 | machine-$(CONFIG_BF523) := bf527 | 29 | machine-$(CONFIG_BF523) := bf527 |
26 | machine-$(CONFIG_BF524) := bf527 | 30 | machine-$(CONFIG_BF524) := bf527 |
@@ -33,6 +37,8 @@ machine-$(CONFIG_BF533) := bf533 | |||
33 | machine-$(CONFIG_BF534) := bf537 | 37 | machine-$(CONFIG_BF534) := bf537 |
34 | machine-$(CONFIG_BF536) := bf537 | 38 | machine-$(CONFIG_BF536) := bf537 |
35 | machine-$(CONFIG_BF537) := bf537 | 39 | machine-$(CONFIG_BF537) := bf537 |
40 | machine-$(CONFIG_BF538) := bf538 | ||
41 | machine-$(CONFIG_BF539) := bf538 | ||
36 | machine-$(CONFIG_BF542) := bf548 | 42 | machine-$(CONFIG_BF542) := bf548 |
37 | machine-$(CONFIG_BF544) := bf548 | 43 | machine-$(CONFIG_BF544) := bf548 |
38 | machine-$(CONFIG_BF547) := bf548 | 44 | machine-$(CONFIG_BF547) := bf548 |
@@ -42,6 +48,10 @@ machine-$(CONFIG_BF561) := bf561 | |||
42 | MACHINE := $(machine-y) | 48 | MACHINE := $(machine-y) |
43 | export MACHINE | 49 | export MACHINE |
44 | 50 | ||
51 | cpu-$(CONFIG_BF512) := bf512 | ||
52 | cpu-$(CONFIG_BF514) := bf514 | ||
53 | cpu-$(CONFIG_BF516) := bf516 | ||
54 | cpu-$(CONFIG_BF518) := bf518 | ||
45 | cpu-$(CONFIG_BF522) := bf522 | 55 | cpu-$(CONFIG_BF522) := bf522 |
46 | cpu-$(CONFIG_BF523) := bf523 | 56 | cpu-$(CONFIG_BF523) := bf523 |
47 | cpu-$(CONFIG_BF524) := bf524 | 57 | cpu-$(CONFIG_BF524) := bf524 |
@@ -54,6 +64,8 @@ cpu-$(CONFIG_BF533) := bf533 | |||
54 | cpu-$(CONFIG_BF534) := bf534 | 64 | cpu-$(CONFIG_BF534) := bf534 |
55 | cpu-$(CONFIG_BF536) := bf536 | 65 | cpu-$(CONFIG_BF536) := bf536 |
56 | cpu-$(CONFIG_BF537) := bf537 | 66 | cpu-$(CONFIG_BF537) := bf537 |
67 | cpu-$(CONFIG_BF538) := bf538 | ||
68 | cpu-$(CONFIG_BF539) := bf539 | ||
57 | cpu-$(CONFIG_BF542) := bf542 | 69 | cpu-$(CONFIG_BF542) := bf542 |
58 | cpu-$(CONFIG_BF544) := bf544 | 70 | cpu-$(CONFIG_BF544) := bf544 |
59 | cpu-$(CONFIG_BF547) := bf547 | 71 | cpu-$(CONFIG_BF547) := bf547 |
@@ -79,7 +91,7 @@ KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y) | |||
79 | CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }') | 91 | CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }') |
80 | CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -Dl1_text=__used__ | 92 | CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -Dl1_text=__used__ |
81 | 93 | ||
82 | head-y := arch/$(ARCH)/mach-$(MACHINE)/head.o arch/$(ARCH)/kernel/init_task.o | 94 | head-y := arch/$(ARCH)/kernel/init_task.o |
83 | 95 | ||
84 | core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/ arch/$(ARCH)/mach-common/ | 96 | core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/ arch/$(ARCH)/mach-common/ |
85 | 97 | ||
@@ -95,10 +107,10 @@ else | |||
95 | core-y += arch/$(ARCH)/kernel/cplb-nompu/ | 107 | core-y += arch/$(ARCH)/kernel/cplb-nompu/ |
96 | endif | 108 | endif |
97 | 109 | ||
98 | libs-y += arch/$(ARCH)/lib/ | ||
99 | |||
100 | drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ | 110 | drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ |
101 | 111 | ||
112 | libs-y += arch/$(ARCH)/lib/ | ||
113 | |||
102 | machdirs := $(patsubst %,arch/blackfin/mach-%/, $(machine-y)) | 114 | machdirs := $(patsubst %,arch/blackfin/mach-%/, $(machine-y)) |
103 | 115 | ||
104 | KBUILD_CFLAGS += -Iarch/$(ARCH)/include/ | 116 | KBUILD_CFLAGS += -Iarch/$(ARCH)/include/ |