projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] Check cache coherency of kernel vs firmware
[powerpc.git]
/
arch
/
powerpc
/
Makefile
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index
a00fe72
..
d6014a6
100644
(file)
--- a/
arch/powerpc/Makefile
+++ b/
arch/powerpc/Makefile
@@
-102,9
+102,9
@@
CFLAGS += $(call cc-option,-mno-altivec)
# kernel considerably.
CFLAGS += $(call cc-option,-funit-at-a-time)
# kernel considerably.
CFLAGS += $(call cc-option,-funit-at-a-time)
-ifndef CONFIG_FSL_BOOKE
-CFLAGS += -mstring
-endif
+# Never use string load/store instructions as they are
+# often slow when they are implemented at all
+CFLAGS += -mno-string
ifeq ($(CONFIG_6xx),y)
CFLAGS += -mcpu=powerpc
ifeq ($(CONFIG_6xx),y)
CFLAGS += -mcpu=powerpc
@@
-148,7
+148,7
@@
all: $(KBUILD_IMAGE)
CPPFLAGS_vmlinux.lds := -Upowerpc
CPPFLAGS_vmlinux.lds := -Upowerpc
-BOOT_TARGETS = zImage zImage.initrd uImage
+BOOT_TARGETS = zImage zImage.initrd
zImage.dts zImage.dts_initrd
uImage
PHONY += $(BOOT_TARGETS)
PHONY += $(BOOT_TARGETS)
@@
-166,6
+166,9
@@
define archhelp
@echo ' *_defconfig - Select default config from arch/$(ARCH)/configs'
endef
@echo ' *_defconfig - Select default config from arch/$(ARCH)/configs'
endef
+install:
+ $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
+
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
archclean:
$(Q)$(MAKE) $(clean)=$(boot)