diff options
Diffstat (limited to 'arch/microblaze/Makefile')
-rw-r--r-- | arch/microblaze/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index 592c7079de88..15f1f1d1840d 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile | |||
@@ -42,11 +42,8 @@ KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2) | |||
42 | LDFLAGS := | 42 | LDFLAGS := |
43 | LDFLAGS_vmlinux := | 43 | LDFLAGS_vmlinux := |
44 | 44 | ||
45 | LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) | ||
46 | |||
47 | head-y := arch/microblaze/kernel/head.o | 45 | head-y := arch/microblaze/kernel/head.o |
48 | libs-y += arch/microblaze/lib/ | 46 | libs-y += arch/microblaze/lib/ |
49 | libs-y += $(LIBGCC) | ||
50 | core-y += arch/microblaze/kernel/ | 47 | core-y += arch/microblaze/kernel/ |
51 | core-y += arch/microblaze/mm/ | 48 | core-y += arch/microblaze/mm/ |
52 | core-y += arch/microblaze/platform/ | 49 | core-y += arch/microblaze/platform/ |
@@ -72,12 +69,16 @@ export MMU DTB | |||
72 | 69 | ||
73 | all: linux.bin | 70 | all: linux.bin |
74 | 71 | ||
75 | BOOT_TARGETS = linux.bin linux.bin.gz simpleImage.% | 72 | # With make 3.82 we cannot mix normal and wildcard targets |
73 | BOOT_TARGETS1 = linux.bin linux.bin.gz | ||
74 | BOOT_TARGETS2 = simpleImage.% | ||
76 | 75 | ||
77 | archclean: | 76 | archclean: |
78 | $(Q)$(MAKE) $(clean)=$(boot) | 77 | $(Q)$(MAKE) $(clean)=$(boot) |
79 | 78 | ||
80 | $(BOOT_TARGETS): vmlinux | 79 | $(BOOT_TARGETS1): vmlinux |
80 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | ||
81 | $(BOOT_TARGETS2): vmlinux | ||
81 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 82 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
82 | 83 | ||
83 | define archhelp | 84 | define archhelp |