uclibc: copy config file from configure iso patch step
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Thu, 13 Feb 2014 11:34:45 +0000 (12:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Feb 2014 20:36:51 +0000 (21:36 +0100)
commita25df76b39863e5d1a4e927696bf83055e8ce244
treeceef7fd9d333469d4a13bab2d653f2390bfb798c
parenteedfc7121cf5b9a8dee8546c85b3bd36e9a743a4
uclibc: copy config file from configure iso patch step

The three typical packages that use .config files in buildroot copy the
config file at different times in the build process:

    busybox copies its .config from the post-extract hook.
    linux copies its .config in the configure_cmds.
    uclibc copies its .config from the post-patch hook.

Copying the .config file from the configure step is the only way to properly
support an OVERRIDE_SRCDIR that does not yet have the .config file, because
the extract and patch steps are skipped in that case.

In a previous patch, the situation was already fixed for busybox. This patch
applies the same fix to uclibc: copy the config file from the configure
step, as linux is doing.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uclibc/uclibc.mk