linux: moved configuration files to system/*/cfg.

This commit is contained in:
Ricardo Martins 2013-07-13 23:58:51 +01:00
parent e39f22cb43
commit 8a994f9bb1
9 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ post_unpack()
refresh()
{
for rule in configure build target_install; do
if [ "$cfg_dir_system/linux-${version}.cfg" -nt "$cfg_dir_builds/linux/$PKG_VAR/.$rule" ]; then
if [ "$cfg_dir_system/cfg/linux-${version}.cfg" -nt "$cfg_dir_builds/linux/$PKG_VAR/.$rule" ]; then
rm "$cfg_dir_builds/linux/$PKG_VAR/.$rule"
fi
done
@ -21,7 +21,7 @@ configure()
$cmd_make \
ARCH=${cfg_target_linux} \
mrproper &&
cp "$cfg_dir_system/linux-${version}.cfg" .config &&
cp "$cfg_dir_system/cfg/linux-${version}.cfg" .config &&
yes '' | $cmd_make \
CROSS_COMPILE=${cfg_target_canonical}- \
ARCH=${cfg_target_linux} \