diff options
author | Dave Chapman <dave@dchapman.com> | 2005-02-16 00:38:31 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-02-16 00:38:31 +0000 |
commit | 5b2d874a361663dd17413b8bcf2439fc0f8716d8 (patch) | |
tree | 87769b164567d9b93e4e95d7649e9e7eb83f9981 /tools | |
parent | d97bd1e66113d6e180b5fb41e0c7194e64295c12 (diff) | |
download | rockbox-5b2d874a361663dd17413b8bcf2439fc0f8716d8.tar.gz rockbox-5b2d874a361663dd17413b8bcf2439fc0f8716d8.zip |
Incorporate apps/codecs into the build system based on SOFTWARECODECS configuration variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5964 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 48d54f0bc2..ac007716bd 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -107,6 +107,7 @@ sed > Makefile \ | |||
107 | -e "s,@LANGUAGE@,${language},g" \ | 107 | -e "s,@LANGUAGE@,${language},g" \ |
108 | -e "s,@TARGET@,${target},g" \ | 108 | -e "s,@TARGET@,${target},g" \ |
109 | -e "s,@PLUGINS@,${plugins},g" \ | 109 | -e "s,@PLUGINS@,${plugins},g" \ |
110 | -e "s,@CODECS@,${codecs},g" \ | ||
110 | -e "s,@SIMVER@,${simver},g" \ | 111 | -e "s,@SIMVER@,${simver},g" \ |
111 | -e "s,@MEMORY@,${memory},g" \ | 112 | -e "s,@MEMORY@,${memory},g" \ |
112 | <<EOF | 113 | <<EOF |
@@ -128,6 +129,7 @@ export TARGET=@TARGET@ | |||
128 | export LANGUAGE=@LANGUAGE@ | 129 | export LANGUAGE=@LANGUAGE@ |
129 | export VERSION=\$(shell date +%y%m%d-%H%M) | 130 | export VERSION=\$(shell date +%y%m%d-%H%M) |
130 | export ENABLEDPLUGINS=@PLUGINS@ | 131 | export ENABLEDPLUGINS=@PLUGINS@ |
132 | export SOFTWARECODECS=@CODECS@ | ||
131 | export MEMORYSIZE=@MEMORY@ | 133 | export MEMORYSIZE=@MEMORY@ |
132 | 134 | ||
133 | .PHONY: | 135 | .PHONY: |
@@ -312,6 +314,7 @@ if [ -z "$archos" ]; then | |||
312 | archosrom="$pwd/rombox.ucl" | 314 | archosrom="$pwd/rombox.ucl" |
313 | flash="$pwd/rockbox.ucl" | 315 | flash="$pwd/rockbox.ucl" |
314 | plugins="yes" | 316 | plugins="yes" |
317 | codecs="" | ||
315 | ;; | 318 | ;; |
316 | 319 | ||
317 | 3) | 320 | 3) |
@@ -324,6 +327,7 @@ if [ -z "$archos" ]; then | |||
324 | archosrom="" | 327 | archosrom="" |
325 | flash="$pwd/rockbox.ucl" | 328 | flash="$pwd/rockbox.ucl" |
326 | plugins="yes" | 329 | plugins="yes" |
330 | codecs="" | ||
327 | ;; | 331 | ;; |
328 | 332 | ||
329 | 4) | 333 | 4) |
@@ -336,6 +340,7 @@ if [ -z "$archos" ]; then | |||
336 | archosrom="$pwd/rombox.ucl" | 340 | archosrom="$pwd/rombox.ucl" |
337 | flash="$pwd/rockbox.ucl" | 341 | flash="$pwd/rockbox.ucl" |
338 | plugins="yes" | 342 | plugins="yes" |
343 | codecs="" | ||
339 | ;; | 344 | ;; |
340 | 345 | ||
341 | 5) | 346 | 5) |
@@ -349,6 +354,7 @@ if [ -z "$archos" ]; then | |||
349 | archosrom="" | 354 | archosrom="" |
350 | flash="" | 355 | flash="" |
351 | plugins="" # disabled for now, enable later on | 356 | plugins="" # disabled for now, enable later on |
357 | codecs="" | ||
352 | ;; | 358 | ;; |
353 | 359 | ||
354 | 6) | 360 | 6) |
@@ -362,6 +368,7 @@ if [ -z "$archos" ]; then | |||
362 | archosrom="" | 368 | archosrom="" |
363 | flash="" | 369 | flash="" |
364 | plugins="" # disabled for now, enable later on | 370 | plugins="" # disabled for now, enable later on |
371 | codecs="" | ||
365 | ;; | 372 | ;; |
366 | 373 | ||
367 | 7) | 374 | 7) |
@@ -374,6 +381,7 @@ if [ -z "$archos" ]; then | |||
374 | archosrom="$pwd/rombox.ucl" | 381 | archosrom="$pwd/rombox.ucl" |
375 | flash="$pwd/rockbox.ucl" | 382 | flash="$pwd/rockbox.ucl" |
376 | plugins="yes" | 383 | plugins="yes" |
384 | codecs="" | ||
377 | ;; | 385 | ;; |
378 | 386 | ||
379 | 8) | 387 | 8) |
@@ -386,6 +394,7 @@ if [ -z "$archos" ]; then | |||
386 | archosrom="$pwd/rombox.ucl" | 394 | archosrom="$pwd/rombox.ucl" |
387 | flash="$pwd/rockbox.ucl" | 395 | flash="$pwd/rockbox.ucl" |
388 | plugins="yes" | 396 | plugins="yes" |
397 | codecs="" | ||
389 | ;; | 398 | ;; |
390 | 399 | ||
391 | 9) | 400 | 9) |
@@ -399,6 +408,7 @@ if [ -z "$archos" ]; then | |||
399 | archosrom="" | 408 | archosrom="" |
400 | flash="" | 409 | flash="" |
401 | plugins="yes" | 410 | plugins="yes" |
411 | codecs="yes" | ||
402 | ;; | 412 | ;; |
403 | 413 | ||
404 | *) | 414 | *) |
@@ -411,6 +421,7 @@ if [ -z "$archos" ]; then | |||
411 | archosrom="$pwd/rombox.ucl" | 421 | archosrom="$pwd/rombox.ucl" |
412 | flash="$pwd/rockbox.ucl" | 422 | flash="$pwd/rockbox.ucl" |
413 | plugins="yes" | 423 | plugins="yes" |
424 | codecs="" | ||
414 | ;; | 425 | ;; |
415 | 426 | ||
416 | esac | 427 | esac |
@@ -518,6 +529,7 @@ sed > Makefile \ | |||
518 | -e "s,@ARCHOSROM@,${archosrom},g" \ | 529 | -e "s,@ARCHOSROM@,${archosrom},g" \ |
519 | -e "s,@FLASHFILE@,${flash},g" \ | 530 | -e "s,@FLASHFILE@,${flash},g" \ |
520 | -e "s,@PLUGINS@,${plugins},g" \ | 531 | -e "s,@PLUGINS@,${plugins},g" \ |
532 | -e "s,@CODECS@,${codecs},g" \ | ||
521 | -e "s,@GCCOPTS@,${GCCOPTS},g" \ | 533 | -e "s,@GCCOPTS@,${GCCOPTS},g" \ |
522 | -e "s,@LOADADDRESS@,${loadaddress},g" \ | 534 | -e "s,@LOADADDRESS@,${loadaddress},g" \ |
523 | -e "s,@EXTRADEF@,${extradefines},g" \ | 535 | -e "s,@EXTRADEF@,${extradefines},g" \ |
@@ -543,6 +555,7 @@ export MKFIRMWARE=@TOOL@ | |||
543 | export BINARY=@OUTPUT@ | 555 | export BINARY=@OUTPUT@ |
544 | export APPEXTRA=@APPEXTRA@ | 556 | export APPEXTRA=@APPEXTRA@ |
545 | export ENABLEDPLUGINS=@PLUGINS@ | 557 | export ENABLEDPLUGINS=@PLUGINS@ |
558 | export SOFTWARECODECS=@CODECS@ | ||
546 | export EXTRA_DEFINES=@EXTRADEF@ | 559 | export EXTRA_DEFINES=@EXTRADEF@ |
547 | export CC=@CC@ | 560 | export CC=@CC@ |
548 | export LD=@LD@ | 561 | export LD=@LD@ |