From 0db91251574fd221641a5d89564d244e5406e44f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 26 Sep 2013 17:53:28 +0000 Subject: build: unify powerpc target cflags Signed-off-by: Felix Fietkau SVN-Revision: 38213 --- include/target.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index c27e9d3..c3b4c52 100644 --- a/include/target.mk +++ b/include/target.mk @@ -229,6 +229,12 @@ ifeq ($(DUMP),1) CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp endif + ifeq ($(ARCH),powerpc) + CPU_CFLAGS_603e:=-mcpu=603e + CPU_CFLAGS_8540:=-mcpu=8540 + CPU_CFLAGS_405:=-mcpu=405 + CPU_CFLAGS_440:=-mcpu=440 + endif ifeq ($(ARCH),sparc) CPU_TYPE = sparc CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc -- cgit v1.1