1
0
Fork 0
forked from len0rd/rockbox

new include directory for targets with common SoC : cpu/soc

for now, only arm/pp

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31529 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2012-01-03 04:23:08 +00:00
parent 5a8da163c8
commit 4ef988bfb4

27
tools/configure vendored
View file

@ -1641,6 +1641,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="iriver" t_manufacturer="iriver"
t_model="h10" t_model="h10"
;; ;;
@ -1665,6 +1666,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="iriver" t_manufacturer="iriver"
t_model="h10" t_model="h10"
;; ;;
@ -1688,6 +1690,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="color" t_model="color"
;; ;;
@ -1711,6 +1714,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="nano" t_model="nano"
;; ;;
@ -1734,6 +1738,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="video" t_model="video"
;; ;;
@ -1757,6 +1762,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="3g" t_model="3g"
;; ;;
@ -1780,6 +1786,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="4g" t_model="4g"
;; ;;
@ -1803,6 +1810,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="mini" t_model="mini"
;; ;;
@ -1826,6 +1834,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="mini2g" t_model="mini2g"
;; ;;
@ -1849,6 +1858,7 @@ fi
toolset=$ipodbitmaptools toolset=$ipodbitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="ipod" t_manufacturer="ipod"
t_model="1g2g" t_model="1g2g"
;; ;;
@ -2111,6 +2121,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="olympus" t_manufacturer="olympus"
t_model="mrobe-100" t_model="mrobe-100"
;; ;;
@ -2228,6 +2239,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="sandisk" t_manufacturer="sandisk"
t_model="sansa-e200" t_model="sansa-e200"
;; ;;
@ -2255,6 +2267,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="sandisk" t_manufacturer="sandisk"
t_model="sansa-e200" t_model="sansa-e200"
;; ;;
@ -2279,6 +2292,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="sandisk" t_manufacturer="sandisk"
t_model="sansa-c200" t_model="sansa-c200"
;; ;;
@ -2484,6 +2498,7 @@ fi
# this particular target. # this particular target.
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="sandisk" t_manufacturer="sandisk"
t_model="sansa-view" t_model="sansa-view"
;; ;;
@ -2528,7 +2543,7 @@ fi
arm926ejscc arm926ejscc
;; ;;
64|sansafuzeplus) 64|sansafuzeplus)
target_id=80 target_id=80
modelname="sansafuzeplus" modelname="sansafuzeplus"
target="SANSA_FUZEPLUS" target="SANSA_FUZEPLUS"
@ -2587,6 +2602,7 @@ fi
t_model="sansa-connect" t_model="sansa-connect"
arm926ejscc arm926ejscc
;; ;;
150|tatungtpj1022) 150|tatungtpj1022)
target_id=25 target_id=25
modelname="tatungtpj1022" modelname="tatungtpj1022"
@ -2607,6 +2623,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="tatung" t_manufacturer="tatung"
t_model="tpj1022" t_model="tpj1022"
;; ;;
@ -2631,6 +2648,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="philips" t_manufacturer="philips"
t_model="sa9200" t_model="sa9200"
;; ;;
@ -2655,6 +2673,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="philips" t_manufacturer="philips"
t_model="hdd1630" t_model="hdd1630"
;; ;;
@ -2679,6 +2698,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="philips" t_manufacturer="philips"
t_model="hdd6330" t_model="hdd6330"
;; ;;
@ -2901,6 +2921,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="samsung" t_manufacturer="samsung"
t_model="yh820" t_model="yh820"
;; ;;
@ -2925,6 +2946,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="samsung" t_manufacturer="samsung"
t_model="yh920" t_model="yh920"
;; ;;
@ -2949,6 +2971,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="samsung" t_manufacturer="samsung"
t_model="yh925" t_model="yh925"
;; ;;
@ -2995,6 +3018,7 @@ fi
toolset=$scramblebitmaptools toolset=$scramblebitmaptools
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="arm" t_cpu="arm"
t_soc="pp"
t_manufacturer="pbell" t_manufacturer="pbell"
t_model="vibe500" t_model="vibe500"
;; ;;
@ -3707,6 +3731,7 @@ if test -n "$t_cpu"; then
fi fi
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer" TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer"
test -n "$t_soc" && TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_soc"
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu" TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu"
GCCOPTS="$GCCOPTS" GCCOPTS="$GCCOPTS"
fi fi