linux: moved configuration files to system/*/cfg.
This commit is contained in:
parent
e39f22cb43
commit
8a994f9bb1
@ -10,7 +10,7 @@ post_unpack()
|
|||||||
refresh()
|
refresh()
|
||||||
{
|
{
|
||||||
for rule in configure build target_install; do
|
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"
|
rm "$cfg_dir_builds/linux/$PKG_VAR/.$rule"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -21,7 +21,7 @@ configure()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
ARCH=${cfg_target_linux} \
|
ARCH=${cfg_target_linux} \
|
||||||
mrproper &&
|
mrproper &&
|
||||||
cp "$cfg_dir_system/linux-${version}.cfg" .config &&
|
cp "$cfg_dir_system/cfg/linux-${version}.cfg" .config &&
|
||||||
yes '' | $cmd_make \
|
yes '' | $cmd_make \
|
||||||
CROSS_COMPILE=${cfg_target_canonical}- \
|
CROSS_COMPILE=${cfg_target_canonical}- \
|
||||||
ARCH=${cfg_target_linux} \
|
ARCH=${cfg_target_linux} \
|
||||||
|
Reference in New Issue
Block a user