GLUED: renamed cfg_package_spec_dir to pkg_dir.
This commit is contained in:
parent
6d110a03f9
commit
8fe415232d
@ -320,7 +320,7 @@ fi
|
||||
|
||||
mkdir -p "$cfg_dir_downloads" "$cfg_dir_rootfs" "$cfg_dir_toolchain" "$cfg_dir_builds/$pkg"
|
||||
|
||||
export cfg_package_spec_dir="$cfg_dir_rules/$pkg"
|
||||
export pkg_dir="$cfg_dir_rules/$pkg"
|
||||
|
||||
. "$cfg_dir_rules/$pkg/$pkg_var.bash"
|
||||
|
||||
|
@ -21,7 +21,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-$version/"*.patch 2>/dev/null)
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch 2>/dev/null)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -27,7 +27,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-${version}/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches-${version}/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cd "../boost_$vendor_version" && cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -20,7 +20,7 @@ maintainer=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-$version/"*.patch 2>/dev/null)
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch 2>/dev/null)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi &&
|
||||
|
@ -15,7 +15,7 @@ md5=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches/*.patch)
|
||||
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
@ -24,7 +24,7 @@ post_unpack()
|
||||
|
||||
configure()
|
||||
{
|
||||
cp "$cfg_package_spec_dir"/config .config &&
|
||||
cp "$pkg_dir"/config .config &&
|
||||
yes '' | $cmd_make CROSS_COMPILE="$cfg_target_canonical"- oldconfig
|
||||
}
|
||||
|
||||
@ -36,5 +36,5 @@ build()
|
||||
target_install()
|
||||
{
|
||||
$cmd_make CROSS_COMPILE="$cfg_target_canonical"- CONFIG_PREFIX=$cfg_dir_rootfs install &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ target_install()
|
||||
# Collectd:
|
||||
$cmd_mkdir "$cfg_dir_rootfs/usr/share/"
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot/usr/share/collectd/" "$cfg_dir_rootfs/usr/share/"
|
||||
$cmd_cp "${cfg_package_spec_dir}/fs/etc/rc.d/collectd" "$cfg_dir_rootfs/etc/rc.d/"
|
||||
$cmd_cp "${pkg_dir}/fs/etc/rc.d/collectd" "$cfg_dir_rootfs/etc/rc.d/"
|
||||
|
||||
# Configuration:
|
||||
echo "# Client
|
||||
|
@ -25,7 +25,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p0
|
||||
fi
|
||||
|
@ -25,7 +25,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
@ -62,5 +62,5 @@ target_install()
|
||||
ln -fs dropbearmulti "$cfg_dir_rootfs/usr/bin/ssh" &&
|
||||
ln -fs dropbearmulti "$cfg_dir_rootfs/usr/bin/dbclient" &&
|
||||
ln -fs ../bin/dropbearmulti "$cfg_dir_rootfs/usr/sbin/dropbear" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -76,5 +76,5 @@ target_install()
|
||||
$cmd_target_strip daemon/dtnd -o "$cfg_dir_rootfs/usr/bin/dtnd" &&
|
||||
$cmd_mkdir "$cfg_dir_rootfs/etc/dtn" "$cfg_dir_rootfs/usr/share/dtn" &&
|
||||
cp servlib/conv_layers/clevent.xsd "$cfg_dir_rootfs/usr/share/dtn" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ post_unpack()
|
||||
{
|
||||
ln -fs ../ports ../eglibc-$version/libc/ports
|
||||
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches/*.patch)
|
||||
|
||||
cd ../eglibc-$version
|
||||
if [ -n "$patches" ]; then
|
||||
|
@ -13,7 +13,7 @@ build()
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install_root="$cfg_dir_toolchain_sysroot" -j1 install &&
|
||||
cp "$cfg_package_spec_dir"/files/timepps.h "$cfg_dir_toolchain_sysroot/usr/include"
|
||||
cp "$pkg_dir"/files/timepps.h "$cfg_dir_toolchain_sysroot/usr/include"
|
||||
}
|
||||
|
||||
target_install()
|
||||
@ -33,5 +33,5 @@ target_install()
|
||||
|
||||
$cmd_target_strip -v --strip-unneeded "elf/ldconfig" \
|
||||
-o "$cfg_dir_rootfs/sbin/ldconfig" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -44,5 +44,5 @@ target_install()
|
||||
$cmd_target_strip "utils/$util/$util" -o "$cfg_dir_rootfs/usr/bin/$util"
|
||||
done &&
|
||||
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches-$version/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches-$version/*.patch)
|
||||
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
@ -37,7 +37,7 @@ post_unpack()
|
||||
build()
|
||||
{
|
||||
OLD_PATH="$PATH"
|
||||
export PATH="$cfg_package_spec_dir/compat:$PATH"
|
||||
export PATH="$pkg_dir/compat:$PATH"
|
||||
export PLASMA_HOME="$PWD/../europa-$version"
|
||||
export EUROPA_HOME="$cfg_dir_toolchain_sysroot/usr"
|
||||
|
||||
|
@ -21,7 +21,7 @@ requires=\
|
||||
post_unpack()
|
||||
{
|
||||
cd ../expect${version}
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -15,7 +15,7 @@ md5=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patch -d ../fconfig -p1 < "$cfg_package_spec_dir"/patches/limits.patch
|
||||
patch -d ../fconfig -p1 < "$pkg_dir"/patches/limits.patch
|
||||
}
|
||||
|
||||
build()
|
||||
|
@ -34,7 +34,7 @@ target_install()
|
||||
$cmd_mkdir "$cfg_dir_rootfs"/root/.ssh &&
|
||||
chmod 0700 "$cfg_dir_rootfs"/root/.ssh &&
|
||||
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
|
||||
if [ -d "$cfg_dir_system/fs" ]; then
|
||||
tar -C "$cfg_dir_system/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
|
@ -19,7 +19,7 @@ requires=(
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-$version/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -17,7 +17,7 @@ build_dir=$pkg_var
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-${version}/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches-${version}/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cd "../gcc-$version" && cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -41,5 +41,5 @@ target_install()
|
||||
$cmd_target_strip "$l" -o $cfg_dir_rootfs/usr/lib/"$(basename $l)"
|
||||
done
|
||||
|
||||
cp "$cfg_package_spec_dir"/services/gpsd "$cfg_dir_rootfs/etc/rc.d"
|
||||
cp "$pkg_dir"/services/gpsd "$cfg_dir_rootfs/etc/rc.d"
|
||||
}
|
||||
|
@ -10,5 +10,5 @@ maintainer=\
|
||||
|
||||
target_install()
|
||||
{
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
for patch in "$cfg_package_spec_dir"/patches/*; do
|
||||
for patch in "$pkg_dir"/patches/*; do
|
||||
patch -p1 < "$patch" || return 1
|
||||
done
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -15,7 +15,7 @@ md5=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patch -p1 < "$cfg_package_spec_dir"/patches/libxslt-configure.patch
|
||||
patch -p1 < "$pkg_dir"/patches/libxslt-configure.patch
|
||||
}
|
||||
|
||||
requires=\
|
||||
|
@ -1,6 +1,6 @@
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-$version/"*.patch\
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch\
|
||||
"$cfg_dir_system/patches/linux/patches-${version}/"*.patch 2>/dev/null)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
|
@ -17,11 +17,11 @@ requires=\
|
||||
download()
|
||||
{
|
||||
mkdir -p dnsmasq.d &&
|
||||
python "$cfg_package_spec_dir/download-peers.py" dnsmasq.d
|
||||
python "$pkg_dir/download-peers.py" dnsmasq.d
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f - &&
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f - &&
|
||||
tar -C dnsmasq.d --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs/etc" -x -v -f -
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ maintainer=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cd "../m4-$version" && cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -29,7 +29,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -37,5 +37,5 @@ target_install()
|
||||
$cmd_target_strip ntpd/ntpd -o $cfg_dir_rootfs/usr/bin/ntpd &&
|
||||
$cmd_target_strip ntpdate/ntpdate -o $cfg_dir_rootfs/usr/bin/ntpdate &&
|
||||
$cmd_target_strip ntpq/ntpq -o $cfg_dir_rootfs/usr/bin/ntpq &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ md5=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches-${version}/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches-${version}/*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
# echo " cat $patches | patch -p1 "
|
||||
cat $patches | patch -p1
|
||||
@ -58,8 +58,8 @@ target_install()
|
||||
{
|
||||
# Log:
|
||||
$cmd_mkdir "${cfg_dir_rootfs}/var/lib/omniEvents/"
|
||||
$cmd_cp "${cfg_package_spec_dir}/fs/etc/rc.d/omniEvents" "$cfg_dir_rootfs/etc/rc.d/omniEvents"
|
||||
$cmd_cp "${cfg_package_spec_dir}/fs/etc/omniorb-eventservice" "${cfg_dir_rootfs}/etc/"
|
||||
$cmd_cp "${pkg_dir}/fs/etc/rc.d/omniEvents" "$cfg_dir_rootfs/etc/rc.d/omniEvents"
|
||||
$cmd_cp "${pkg_dir}/fs/etc/omniorb-eventservice" "${cfg_dir_rootfs}/etc/"
|
||||
|
||||
# Binaries:
|
||||
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/lib"*"omniEvents"* "${cfg_dir_rootfs}/usr/lib"
|
||||
|
@ -89,8 +89,8 @@ target_install()
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot/usr/bin/catior" "$cfg_dir_rootfs/usr/bin"
|
||||
|
||||
# Specific configuration:
|
||||
$cmd_cp "${cfg_package_spec_dir}/fs/etc/rc.d/omninames" "$cfg_dir_rootfs/etc/rc.d/omninames"
|
||||
$cmd_cp "${cfg_package_spec_dir}/fs/etc/omniORB.cfg" "$cfg_dir_rootfs/etc/omniORB.cfg"
|
||||
$cmd_cp "${pkg_dir}/fs/etc/rc.d/omninames" "$cfg_dir_rootfs/etc/rc.d/omninames"
|
||||
$cmd_cp "${pkg_dir}/fs/etc/omniORB.cfg" "$cfg_dir_rootfs/etc/omniORB.cfg"
|
||||
|
||||
# Log:
|
||||
$cmd_mkdir "${cfg_dir_rootfs}/var/omninames/"
|
||||
|
@ -47,7 +47,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
sed "s!%cfg_dir_rootfs%!$cfg_dir_rootfs!g" "$cfg_package_spec_dir"/perl.in > "$pkg_build_dir"/perl &&
|
||||
sed "s!%cfg_dir_rootfs%!$cfg_dir_rootfs!g" "$pkg_dir"/perl.in > "$pkg_build_dir"/perl &&
|
||||
chmod 0755 "$pkg_build_dir"/perl
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ post_unpack()
|
||||
chmod -v 644 Makefile.SH &&
|
||||
chmod -v 644 utils/Makefile.SH
|
||||
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches-${version}/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches-${version}/*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -25,7 +25,7 @@ requires=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
for patch in "$cfg_package_spec_dir"/patches/*; do
|
||||
for patch in "$pkg_dir"/patches/*; do
|
||||
patch -p1 < "$patch" || return 1
|
||||
done
|
||||
}
|
||||
|
@ -26,5 +26,5 @@ build()
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip src/ptpd2 -o $cfg_dir_rootfs/usr/bin/ptpd2 &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -14,8 +14,8 @@ configure()
|
||||
echo "Configure is in $(pwd)"
|
||||
|
||||
# We are patching the source as python needs python to compile python for our target:
|
||||
patch -p1 < "${cfg_package_spec_dir}/patches/Python-${version}-xcompile.patch"
|
||||
patch -p1 < "${cfg_package_spec_dir}/patches/001-Enable-zlib-bz2.patch"
|
||||
patch -p1 < "${pkg_dir}/patches/Python-${version}-xcompile.patch"
|
||||
patch -p1 < "${pkg_dir}/patches/001-Enable-zlib-bz2.patch"
|
||||
|
||||
export CC="$cfg_target_canonical-gcc"
|
||||
export CXX="$cfg_target_canonical-g++"
|
||||
|
@ -25,7 +25,7 @@ maintainer=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
|
||||
patches=$(ls "$pkg_dir/patches/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p0
|
||||
fi
|
||||
|
@ -36,5 +36,5 @@ build()
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip setserial -o $cfg_dir_rootfs/usr/bin/setserial
|
||||
cp "$cfg_package_spec_dir"/services/setserial "$cfg_dir_rootfs/etc/rc.d"
|
||||
cp "$pkg_dir"/services/setserial "$cfg_dir_rootfs/etc/rc.d"
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ target_install()
|
||||
$cmd_target_strip extlinux/extlinux -o $cfg_dir_rootfs/usr/sbin/extlinux &&
|
||||
$cmd_mkdir $cfg_dir_rootfs/boot/extlinux &&
|
||||
cp -d mbr/mbr.bin $cfg_dir_rootfs/boot/extlinux &&
|
||||
(echo $console ; cat "$cfg_package_spec_dir"/extlinux.conf) \
|
||||
(echo $console ; cat "$pkg_dir"/extlinux.conf) \
|
||||
| sed "s%\$cfg_kernel_extra_args%$cfg_kernel_extra_args%g" \
|
||||
| sed "s%\$cfg_kernel_boot_dev%$cfg_kernel_boot_dev%g" \
|
||||
> "$cfg_dir_rootfs/boot/extlinux/extlinux.conf"
|
||||
|
@ -20,7 +20,7 @@ maintainer=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches/*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
|
@ -42,5 +42,5 @@ target_install()
|
||||
$cmd_target_strip "$dst"
|
||||
done &&
|
||||
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir/patches-$version/"*.patch\
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch\
|
||||
"$cfg_dir_system/patches/u-boot/patches-${version}/"*.patch 2>/dev/null)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
|
@ -1,4 +1,4 @@
|
||||
source "$cfg_package_spec_dir/default.bash"
|
||||
source "$pkg_dir/default.bash"
|
||||
|
||||
host_install()
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ maintainer=\
|
||||
|
||||
# post_unpack()
|
||||
# {
|
||||
# patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
|
||||
# patches=$(ls "$pkg_dir"/patches/*.patch)
|
||||
# if [ -n "$patches" ]; then
|
||||
# cat $patches | patch -p1
|
||||
# fi
|
||||
|
@ -22,7 +22,7 @@ maintainer=\
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
|
||||
patches=$(ls "$pkg_dir"/patches/*.patch)
|
||||
|
||||
if [ -n "$patches" ]; then
|
||||
cd ../xerces-c-src_$vendor_version &&
|
||||
|
Reference in New Issue
Block a user