diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-09-02 18:06:34 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-15 23:01:06 +0200 |
commit | df9bbb779f37ef55136aeb838068cb2be9115b14 (patch) | |
tree | 6f5818e6c91aba173d8da8d1253b1ca4ac74aff8 /package/gcc | |
parent | 14a2d0b5ab87d16fa405b52612b181bfca03da20 (diff) | |
download | buildroot-df9bbb779f37ef55136aeb838068cb2be9115b14.tar.gz buildroot-df9bbb779f37ef55136aeb838068cb2be9115b14.zip |
gcc/gcc-final: use the common HOST_GCC_CONFIGURE_SYMLINK macro
Each stage of the gcc build needs to make a small dance before the
configuration step to create a build sub-directory and a symbolic link
to the configure script. The common gcc.mk had a
HOST_GCC_CONFIGURE_SYMLINK already used by the gcc-initial and
gcc-intermediate steps, but the gcc-final step wasn't using it.
This commit fixes this inconsistency, and therefore removes the
HOST_GCC_FINAL_CONFIGURE_SYMLINK macro.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/gcc-final/gcc-final.mk | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk index f627767234..69a4ccd6af 100644 --- a/package/gcc/gcc-final/gcc-final.mk +++ b/package/gcc/gcc-final/gcc-final.mk @@ -24,12 +24,7 @@ HOST_GCC_FINAL_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES # subdirectory in the gcc sources, and build from there. HOST_GCC_FINAL_SUBDIR = build -define HOST_GCC_FINAL_CONFIGURE_SYMLINK - mkdir -p $(@D)/build - ln -s ../configure $(@D)/build/configure -endef - -HOST_GCC_FINAL_PRE_CONFIGURE_HOOKS += HOST_GCC_FINAL_CONFIGURE_SYMLINK +HOST_GCC_FINAL_PRE_CONFIGURE_HOOKS += HOST_GCC_CONFIGURE_SYMLINK # Languages supported by the cross-compiler GCC_FINAL_CROSS_LANGUAGES-y = c |