summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorThomas Collerton <tom.coll91@gmail.com>2012-05-09 01:22:29 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-05-09 16:31:31 +0200
commit9520dbf59f6bd6c86791954e082488556a610adc (patch)
treeb898c1539aa58e5f57f33ce606da4d27480e4f69 /setup_native
parentd7f5dcbc413b4bf89a70fc25a20533323840b63c (diff)
EasyHack fdo#42783: get rid of CPU define/build system variable
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/scripts/source/makefile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/scripts/source/makefile.mk b/setup_native/scripts/source/makefile.mk
index 6933f53d6149..60c84e80e797 100644
--- a/setup_native/scripts/source/makefile.mk
+++ b/setup_native/scripts/source/makefile.mk
@@ -53,7 +53,7 @@ CFLAGS+=-D_GNU_SOURCE
.ENDIF
.IF "$(OS)" == "SOLARIS"
-.IF "$(CPU)" == "I"
+.IF "$(CPUNAME)" == "INTEL"
.IF "$(COM)" != "GCC"
CFLAGS+=-D_KERNEL
.ENDIF
@@ -65,7 +65,7 @@ CFLAGS+=-D_KERNEL
# 64 bit builds
.IF "$(OS)" == "SOLARIS"
.IF "$(COM)" != "GCC"
-.IF "$(CPU)" == "S"
+.IF "$(CPUNAME)" == "SPARC"
ENVCFLAGS=-xarch=v8
.ENDIF
.IF "$(CPU)"=="U"