aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2020-09-24 16:05:30 +1000
committerfuzzard <fuzzard@kodi.tv>2020-09-28 13:44:41 +1000
commitb73ba2dd66c11cffad7e30fca96873db9c2fd4db (patch)
tree8795577f40530004849b85fa3be973fb0154d0a2 /docs
parent47be88b5acfa093b145e6467e9621a285a41675a (diff)
[tools/depends] rework configure for apple platforms
reorder configure for apple platforms introduce osx arm arch types Update docs --with-platform mandatory usage for apple platforms Update buildsteps ios/osx to use new mandatory --with-platform Update samba to explicitly use -Wno-error=implicit-function-declaration since global use of flag was removed
Diffstat (limited to 'docs')
-rw-r--r--docs/README.iOS.md5
-rw-r--r--docs/README.macOS.md5
-rw-r--r--docs/README.tvOS.md1
3 files changed, 7 insertions, 4 deletions
diff --git a/docs/README.iOS.md b/docs/README.iOS.md
index 85052b655f..29a5598941 100644
--- a/docs/README.iOS.md
+++ b/docs/README.iOS.md
@@ -81,12 +81,13 @@ git clone https://github.com/xbmc/xbmc kodi
Kodi can be built as a 64bit program for iOS. The dependencies are built in `$HOME/kodi/tools/depends` and installed into `/Users/Shared/xbmc-depends`.
**TIP:** Look for comments starting with `Or ...` and only execute the command(s) you need.
+**NOTE:** `--with-platform` is mandatory for all Apple platforms
Configure build:
```
cd $HOME/kodi/tools/depends
./bootstrap
-./configure --host=aarch64-apple-darwin
+./configure --host=aarch64-apple-darwin --with-platform=ios
```
Build tools and dependencies:
@@ -100,7 +101,7 @@ make -j$(getconf _NPROCESSORS_ONLN)
**NOTE:** **Advanced developers** may want to specify an iOS SDK version (if multiple versions are installed) in the configure line(s) shown above. The example below would use the iOS SDK 11.0:
```
-./configure --host=aarch64-apple-darwin --with-sdk=11.0
+./configure --host=aarch64-apple-darwin --with-platform=ios --with-sdk=11.0
```
**[back to top](#table-of-contents)** | **[back to section top](#4-configure-and-build-tools-and-dependencies)**
diff --git a/docs/README.macOS.md b/docs/README.macOS.md
index a8347384ce..85c38e5ad5 100644
--- a/docs/README.macOS.md
+++ b/docs/README.macOS.md
@@ -81,12 +81,13 @@ git clone https://github.com/xbmc/xbmc kodi
Kodi can be built as either a 32bit or 64bit program. The dependencies are built in `$HOME/kodi/tools/depends` and installed into `/Users/Shared/xbmc-depends`.
**TIP:** Look for comments starting with `Or ...` and only execute the command(s) you need.
+**NOTE:** `--with-platform` is mandatory for all Apple platforms
Configure build:
```
cd $HOME/kodi/tools/depends
./bootstrap
-./configure --host=x86_64-apple-darwin
+./configure --host=x86_64-apple-darwin --with-platform=macos
```
Build tools and dependencies:
@@ -100,7 +101,7 @@ make -j$(getconf _NPROCESSORS_ONLN)
**NOTE:** **Advanced developers** may want to specify an SDK version (if multiple versions are installed) in the configure line(s) shown above. The example below would use SDK 10.13:
```
-./configure --host=x86_64-apple-darwin --with-sdk=10.13
+./configure --host=x86_64-apple-darwin --with-platform=macos --with-sdk=10.13
```
**[back to top](#table-of-contents)** | **[back to section top](#4-configure-and-build-tools-and-dependencies)**
diff --git a/docs/README.tvOS.md b/docs/README.tvOS.md
index 483b613840..735cf2b443 100644
--- a/docs/README.tvOS.md
+++ b/docs/README.tvOS.md
@@ -86,6 +86,7 @@ git clone https://github.com/xbmc/xbmc kodi
## 4. Configure and build tools and dependencies
Kodi can be built as a 64bit program only for tvOS. The dependencies are built in `$HOME/kodi/tools/depends` and installed into `/Users/Shared/xbmc-depends`.
+**NOTE:** `--with-platform` is mandatory for all Apple platforms
Configure build:
```