diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
commit | b8a23f9e4980e6a041d750c325ab2845aea8488a (patch) | |
tree | d10400e99208595638f13e7fe3b279274a173e56 /tools/configure | |
parent | d23afcd4f4ad72b1c2c087055a9ba4457f2646cd (diff) | |
download | rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.gz rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.zip |
Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tools/configure b/tools/configure index aecdda4b14..34d80328b9 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -589,8 +589,14 @@ fi | |||
589 | sed > autoconf.h \ | 589 | sed > autoconf.h \ |
590 | -e "s,@ENDIAN@,${defendian},g" \ | 590 | -e "s,@ENDIAN@,${defendian},g" \ |
591 | <<EOF | 591 | <<EOF |
592 | /* This header was made by configure */ | ||
593 | #ifndef __BUILD_AUTOCONF_H | ||
594 | #define __BUILD_AUTOCONF_H | ||
595 | |||
592 | /* Define endianess for the target or simulator platform */ | 596 | /* Define endianess for the target or simulator platform */ |
593 | #define @ENDIAN@ 1 | 597 | #define @ENDIAN@ 1 |
598 | |||
599 | #endif /* __BUILD_AUTOCONF_H */ | ||
594 | EOF | 600 | EOF |
595 | 601 | ||
596 | sed > Makefile \ | 602 | sed > Makefile \ |
@@ -641,7 +647,7 @@ export ARCHOSROM=@ARCHOSROM@ | |||
641 | export FLASHFILE=@FLASHFILE@ | 647 | export FLASHFILE=@FLASHFILE@ |
642 | export TARGET=@TARGET@ | 648 | export TARGET=@TARGET@ |
643 | export OBJDIR=@PWD@ | 649 | export OBJDIR=@PWD@ |
644 | export BUILDDIR=\$(OBJDIR) | 650 | export BUILDDIR=@PWD@ |
645 | export LANGUAGE=@LANGUAGE@ | 651 | export LANGUAGE=@LANGUAGE@ |
646 | export MEMORYSIZE=@MEMORY@ | 652 | export MEMORYSIZE=@MEMORY@ |
647 | export VERSION=\$(shell date +%y%m%d-%H%M) | 653 | export VERSION=\$(shell date +%y%m%d-%H%M) |
@@ -675,13 +681,13 @@ MAKEFLAGS += --no-print-directory | |||
675 | .PHONY: all clean tags zip | 681 | .PHONY: all clean tags zip |
676 | 682 | ||
677 | all: | 683 | all: |
678 | @\$(MAKE) -C \$(FIRMDIR) | 684 | @\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware |
679 | @\$(MAKE) -C \$(APPSDIR) | 685 | @\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/apps |
680 | 686 | ||
681 | clean: | 687 | clean: |
682 | @\$(MAKE) -C \$(FIRMDIR) clean | 688 | @\$(MAKE) -C \$(FIRMDIR) clean OBJDIR=\$(BUILDDIR)/firmware |
683 | @\$(MAKE) -C \$(APPSDIR) clean | 689 | @\$(MAKE) -C \$(APPSDIR) clean OBJDIR=\$(BUILDDIR)/apps |
684 | @rm -f rockbox.zip TAGS | 690 | @rm -rf rockbox.zip TAGS apps firmware comsim sim |
685 | 691 | ||
686 | tags: | 692 | tags: |
687 | @rm -f TAGS | 693 | @rm -f TAGS |