Skip to content

Commit

Permalink
[autotools/buildsteps/depends] Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hudokkow committed Oct 21, 2016
1 parent 411d354 commit ea1f1c1
Show file tree
Hide file tree
Showing 22 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -573,7 +573,7 @@ endif
@install -d $(DESTDIR)$(includedir)/@APP_NAME_LC@
@install -m 0644 $(BINDINGS) $(DESTDIR)$(includedir)/@APP_NAME_LC@
@install -d $(DESTDIR)$(libdir)/@APP_NAME_LC@
@install -m 0644 project/cmake/*.cmake project/cmake/scripts/common/*.cmake $(DESTDIR)$(libdir)/@APP_NAME_LC@
@install -m 0644 cmake/*.cmake cmake/scripts/common/*.cmake $(DESTDIR)$(libdir)/@APP_NAME_LC@
@cd $(DESTDIR)$(includedir); [ -L xbmc ] || [ -d xbmc ] || ln -s @APP_NAME_LC@ xbmc

uninstall:
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -2220,7 +2220,7 @@ OUTPUT_FILES="Makefile \
tools/darwin/packaging/migrate_to_kodi_ios.sh \
xbmc/platform/darwin/osx/Info.plist \
xbmc/platform/darwin/ios/Info.plist \
project/cmake/KodiConfig.cmake \
cmake/KodiConfig.cmake \
tools/android/packaging/xbmc/AndroidManifest.xml \
tools/android/packaging/Makefile \
tools/android/packaging/xbmc/src/org/xbmc/kodi/Splash.java \
Expand Down
2 changes: 1 addition & 1 deletion project/Win32BuildSetup/BuildSetup.bat
Expand Up @@ -102,7 +102,7 @@ set WORKSPACE=%CD%\..\..\kodi-build
MKDIR %WORKSPACE%
PUSHD %WORKSPACE%

cmake.exe -G "Visual Studio 14" %base_dir%\project\cmake
cmake.exe -G "Visual Studio 14" %base_dir%
IF %errorlevel%==1 (
set DIETEXT="%APP_NAME%.EXE failed to build!"
goto DIE
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/android-arm64-v8a/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=android
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -24,8 +24,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/android-arm64-v8a/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=android

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

# if depends path has changed - cleanout everything and do a full rebuild
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/android/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=android
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -24,8 +24,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/android/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=android

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

# if depends path has changed - cleanout everything and do a full rebuild
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/androidx86/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=android
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -24,8 +24,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/androidx86/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=android

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

# if depends path has changed - cleanout everything and do a full rebuild
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/ios/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=ios
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -23,8 +23,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/ios/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=ios

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

# if depends path has changed - cleanout everything and do a full rebuild
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/linux64/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=linux64
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -21,8 +21,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/linux64/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=linux64

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

# if depends path has changed - cleanout everything and do a full rebuild
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/osx64/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=osx64
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -23,8 +23,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/osx64/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=osx64

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

# if depends path has changed - cleanout everything and do a full rebuild
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
Expand Down
6 changes: 3 additions & 3 deletions tools/buildsteps/rbpi/make-binary-addons
Expand Up @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=rbpi
. $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends

#clear the build failed file
rm -f $WORKSPACE/project/cmake/$FAILED_BUILD_FILENAME
rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME

ALL_BINARY_ADDONS_BUILT="1"
#only build binary addons when requested by env/jenkins
Expand All @@ -21,8 +21,8 @@ fi

if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
then
tagSuccessFulBuild $WORKSPACE/project/cmake
tagSuccessFulBuild $WORKSPACE/cmake
else
#mark the build failure in the filesystem but leave jenkins running
tagFailedBuild $WORKSPACE/project/cmake
tagFailedBuild $WORKSPACE/cmake
fi
2 changes: 1 addition & 1 deletion tools/buildsteps/rbpi/prepare-depends
Expand Up @@ -4,7 +4,7 @@ XBMC_PLATFORM_DIR=rbpi

#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}

if [ -d $JENKINS_RBPI_DEVENV/firmware ]
then
Expand Down
2 changes: 1 addition & 1 deletion tools/buildsteps/win32/bootstrap-addons.bat
Expand Up @@ -33,7 +33,7 @@ IF "%WORKDIR%" == "" (

rem setup some paths that we need later
SET CUR_PATH=%CD%
SET BASE_PATH=%WORKDIR%\project\cmake
SET BASE_PATH=%WORKDIR%\cmake
SET ADDONS_PATH=%BASE_PATH%\addons
SET ADDONS_BOOTSTRAP_PATH=%ADDONS_PATH%\bootstrap
SET BOOTSTRAP_BUILD_PATH=%ADDONS_PATH%\build\bootstrap
Expand Down
2 changes: 1 addition & 1 deletion tools/buildsteps/win32/make-addons.bat
Expand Up @@ -39,7 +39,7 @@ IF "%WORKDIR%" == "" (

rem setup some paths that we need later
SET CUR_PATH=%CD%
SET BASE_PATH=%WORKDIR%\project\cmake
SET BASE_PATH=%WORKDIR%\cmake
SET SCRIPTS_PATH=%BASE_PATH%\scripts\windows
SET ADDONS_PATH=%BASE_PATH%\addons
SET ADDON_DEPENDS_PATH=%ADDONS_PATH%\output
Expand Down
2 changes: 1 addition & 1 deletion tools/depends/target/cmakebuildsys/Makefile
Expand Up @@ -5,7 +5,7 @@ APP_NAME=$(shell awk '/APP_NAME/ {print tolower($$2)}' $(VERSION.TXT))

all:
mkdir -p $(CORE_SOURCE_DIR)/build
cd $(CORE_SOURCE_DIR)/build; $(CMAKE) -DCMAKE_BUILD_TYPE=$(Configuration) $(CORE_SOURCE_DIR)/project/cmake
cd $(CORE_SOURCE_DIR)/build; $(CMAKE) -DCMAKE_BUILD_TYPE=$(Configuration) $(CORE_SOURCE_DIR)

clean:
cd $(CORE_SOURCE_DIR)/build; $(MAKE) clean
Expand Down
2 changes: 1 addition & 1 deletion tools/depends/xbmc-addons.include
@@ -1,6 +1,6 @@
ADDON_DEPS_DIR := $(BUILDDIR)/$(PLATFORM)/build/depends
TOOLCHAIN_FILE = $(ADDON_DEPS_DIR)/share/Toolchain_binaddons.cmake
ADDON_PROJECT_DIR = $(BUILDDIR)/../../../../project/cmake/addons
ADDON_PROJECT_DIR = $(BUILDDIR)/../../cmake/addons

ifeq ($(CROSS_COMPILING),yes)
DEPS = $(TOOLCHAIN_FILE) $(abs_top_srcdir)/target/config-binaddons.site $(abs_top_srcdir)/target/Toolchain_binaddons.cmake $(CONFIG_SUB) $(CONFIG_GUESS)
Expand Down
2 changes: 1 addition & 1 deletion tools/windows/prepare-binary-addons-dev.bat
Expand Up @@ -28,7 +28,7 @@ IF "%WORKDIR%" == "" (

rem setup some paths that we need later
SET CUR_PATH=%CD%
SET BASE_PATH=%WORKDIR%\project\cmake
SET BASE_PATH=%WORKDIR%\cmake
SET SCRIPTS_PATH=%BASE_PATH%\scripts\windows
SET ADDONS_PATH=%BASE_PATH%\addons
SET ADDON_DEPENDS_PATH=%ADDONS_PATH%\output
Expand Down

0 comments on commit ea1f1c1

Please sign in to comment.