Skip to content

Commit

Permalink
scripts: sync with master of: https://github.com/RobertCNelson/stable…
Browse files Browse the repository at this point in the history
…-kernel.git

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Aug 19, 2014
1 parent c7f2a27 commit d10dece
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ unset LINUX_GIT
. ${DIR}/system.sh
/bin/sh -e "${DIR}/scripts/gcc.sh" || { exit 1 ; }
. ${DIR}/.CC
echo "debug: CC=${CC}"
echo "CROSS_COMPILE=${CC}"

. ${DIR}/version.sh
export LINUX_GIT
Expand Down
2 changes: 1 addition & 1 deletion build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ unset LINUX_GIT
. ${DIR}/system.sh
/bin/sh -e "${DIR}/scripts/gcc.sh" || { exit 1 ; }
. ${DIR}/.CC
echo "debug: CC=${CC}"
echo "CROSS_COMPILE=${CC}"

. ${DIR}/version.sh
export LINUX_GIT
Expand Down
14 changes: 4 additions & 10 deletions scripts/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ git_kernel_torvalds () {
check_and_or_clone () {
#For Legacy: moving to "${DIR}/ignore/linux-src/" for all new installs
if [ ! "${LINUX_GIT}" ] && [ -f "${HOME}/linux-src/.git/config" ] ; then
echo "-----------------------------"
echo "scripts/git: Warning: LINUX_GIT not defined in system.sh"
echo "using legacy location: ${HOME}/linux-src"
LINUX_GIT="${HOME}/linux-src"
fi

Expand Down Expand Up @@ -88,14 +85,11 @@ git_kernel () {

cd ${LINUX_GIT}/
echo "-----------------------------"
echo "scripts/git: Debug: LINUX_GIT is setup as..."
pwd
echo "-----------------------------"
cat .git/config
echo "-----------------------------"
echo "scripts/git: Updating LINUX_GIT tree via: git fetch"
echo "scripts/git: Debug: LINUX_GIT is setup as: [${LINUX_GIT}]."
echo "scripts/git: [`cat .git/config | grep url | sed 's/\t//g' | sed 's/ //g'`]"
git fetch || true
cd -
echo "-----------------------------"
cd ${DIR}/

if [ ! -f "${DIR}/KERNEL/.git/config" ] ; then
rm -rf ${DIR}/KERNEL/ || true
Expand Down
2 changes: 1 addition & 1 deletion tools/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ unset LINUX_GIT
. ${DIR}/system.sh
/bin/sh -e "${DIR}/scripts/gcc.sh" || { exit 1 ; }
. ${DIR}/.CC
echo "debug: CC=${CC}"
echo "CROSS_COMPILE=${CC}"

. ${DIR}/version.sh
export LINUX_GIT
Expand Down
2 changes: 1 addition & 1 deletion tools/rebuild_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ unset LINUX_GIT
. ${DIR}/system.sh
/bin/sh -e "${DIR}/scripts/gcc.sh" || { exit 1 ; }
. ${DIR}/.CC
echo "debug: CC=${CC}"
echo "CROSS_COMPILE=${CC}"

. ${DIR}/version.sh
export LINUX_GIT
Expand Down

0 comments on commit d10dece

Please sign in to comment.