summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorgeoff <geoff@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-18 23:07:45 +0000
committergeoff <geoff@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-18 23:07:45 +0000
commit2b08ef515591897a4a92d8a6ebdd1fff7fc24afd (patch)
treea7452ede30209311ebcaba60484b53ae9543f486 /target
parented808cfc4ed8320ad6f97c29ead0b19fb95ae3a0 (diff)
powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where special handling for the 64 bit PowerPC processors is needed. Introduce a new config feature powerpc64, and replace the use of TARGET_ps3 with powerpc64. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17306 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/Config.in3
-rw-r--r--target/linux/ps3/Makefile1
-rw-r--r--target/linux/ps3/petitboot/target.mk2
3 files changed, 5 insertions, 1 deletions
diff --git a/target/Config.in b/target/Config.in
index 8bfeb83b27..ffd81d3f6c 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -100,6 +100,9 @@ config powerpc
select BIG_ENDIAN
bool
+config powerpc64
+ bool
+
config sh3
bool
diff --git a/target/linux/ps3/Makefile b/target/linux/ps3/Makefile
index 64d8477199..b59e161582 100644
--- a/target/linux/ps3/Makefile
+++ b/target/linux/ps3/Makefile
@@ -11,6 +11,7 @@ BOARD:=ps3
BOARDNAME:=Sony PS3 Game Console
MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
SUBTARGETS=petitboot
+FEATURES+=powerpc64
LINUX_VERSION:=2.6.28.10
diff --git a/target/linux/ps3/petitboot/target.mk b/target/linux/ps3/petitboot/target.mk
index 04ec11bb3e..845c4316d3 100644
--- a/target/linux/ps3/petitboot/target.mk
+++ b/target/linux/ps3/petitboot/target.mk
@@ -1,5 +1,5 @@
BOARDNAME:=Petitboot
-FEATURES:=fpu ramdisk
+FEATURES+=fpu ramdisk
define Target/Description
Build Petitboot bootloader