• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/kodi-visualisation-goom/0001-cross-compile.patch
Bernd KuhlsBernd Kuhls committed 56b80ece63121 Feb 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Fix cross-compilation
2
​
3
Use the cross-compiler and not the host version.
4
​
5
Patch sent upstream:
6
https://github.com/notspiff/visualization.goom/pull/4
7
​
8
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9
​
10
diff -uNr visualization.goom-fb5933ba5b2143d055cc7749dc60a82f6002b305.org/CMakeLists.txt visualization.goom-fb5933ba5b2143d055cc7749dc60a82f6002b305/CMakeLists.txt
11
--- visualization.goom-fb5933ba5b2143d055cc7749dc60a82f6002b305.org/CMakeLists.txt  2014-10-31 11:34:21.000000000 +0100
12
+++ visualization.goom-fb5933ba5b2143d055cc7749dc60a82f6002b305/CMakeLists.txt  2015-07-19 19:49:43.340054342 +0200
13
@@ -13,6 +13,10 @@
14
                     ${KODI_INCLUDE_DIR}
15
                     ${PROJECT_SOURCE_DIR}/lib/goom2k4-0/src)
16
 
17
+get_filename_component( COMPILER_FILENAME "${CMAKE_C_COMPILER}" NAME )
18
+string( REGEX REPLACE "-[^-]+$" ""
19
+        TOOLCHAIN_NAME "${COMPILER_FILENAME}" )
20
+
21
 include(ExternalProject)
22
 set(update_command "")
23
 if(BOOTSTRAP_IN_TREE OR NOT DEFINED BOOTSTRAP_IN_TREE)
24
@@ -20,7 +24,7 @@
25
 endif()
26
 externalproject_add(libgoom SOURCE_DIR ${PROJECT_SOURCE_DIR}/lib/goom2k4-0
27
                     "${update_command}"
28
-                    CONFIGURE_COMMAND ${PROJECT_SOURCE_DIR}/lib/goom2k4-0/configure --disable-shared --enable-static --with-pic --prefix=<INSTALL_DIR>
29
+                    CONFIGURE_COMMAND ${PROJECT_SOURCE_DIR}/lib/goom2k4-0/configure --disable-shared --enable-static --with-pic --prefix=<INSTALL_DIR> --host=${TOOLCHAIN_NAME}
30
                     BUILD_COMMAND ${MAKE}
31
                     INSTALL_COMMAND "")
32
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.