diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index c057f90006..4ddd044b71 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -4616,7 +4616,7 @@ if [ "$ARG_RBDIR" != "" ]; then | |||
4616 | echo "Using alternate rockbox dir: ${rbdir}" | 4616 | echo "Using alternate rockbox dir: ${rbdir}" |
4617 | fi | 4617 | fi |
4618 | 4618 | ||
4619 | cat > autoconf.h <<EOF | 4619 | cat > autoconf.h.new <<EOF |
4620 | /* This header was made by configure */ | 4620 | /* This header was made by configure */ |
4621 | #ifndef __BUILD_AUTOCONF_H | 4621 | #ifndef __BUILD_AUTOCONF_H |
4622 | #define __BUILD_AUTOCONF_H | 4622 | #define __BUILD_AUTOCONF_H |
@@ -4691,6 +4691,12 @@ ${app_lcd_height} | |||
4691 | #endif /* __BUILD_AUTOCONF_H */ | 4691 | #endif /* __BUILD_AUTOCONF_H */ |
4692 | EOF | 4692 | EOF |
4693 | 4693 | ||
4694 | # Make sure the file is different. | ||
4695 | if ! diff -q autoconf.h.new autoconf.h > /dev/null 2>&1 ; then | ||
4696 | mv autoconf.h.new autoconf.h | ||
4697 | echo "Created autoconf.h" | ||
4698 | fi | ||
4699 | |||
4694 | if test -n "$t_cpu"; then | 4700 | if test -n "$t_cpu"; then |
4695 | TARGET_INC="-I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer/$t_model" | 4701 | TARGET_INC="-I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer/$t_model" |
4696 | 4702 | ||