Skip to content

Commit

Permalink
[Build configs][do not merge] Config files renamed (Intel-Media-SDK#6)
Browse files Browse the repository at this point in the history
+ updates for Install package layout
  • Loading branch information
dlobanox authored Apr 12, 2018
1 parent 8988cab commit 743021f
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 2 deletions.
25 changes: 25 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Configuration files naming rules:

conf_<product type>_<source location>_[<additional tags>].py

product types:
- android
- linux
- embedded
- windows

source locations:
- closed (Gerrit, Intel Inside)
- private (Github, Intel Inside)
- public (Github, Intel Outside)

additional tags may be various.

Example:

- conf_linux_closed_open.py
means configuration file for linux build from Intel inside gerrit repositories without private code

- conf_embedded_private_api_latest.py
means configuration file for linux embedded build from Github private repository with latest API.

13 changes: 12 additions & 1 deletion conf_open_source.py → conf_linux_public.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

action('install', stage=Stage.INSTALL, cmd=f'make DESTDIR={DEFAULT_OPTIONS["INSTALL_DIR"]} install')

DATA_TO_ARCHIVE = [
DEV_PKG_DATA_TO_ARCHIVE = [
{
'from_path': DEFAULT_OPTIONS['BUILD_DIR'],
'relative': [
Expand All @@ -82,6 +82,17 @@
}
]

INSTALL_PKG_DATA_TO_ARCHIVE = [
{
'from_path': DEFAULT_OPTIONS['INSTALL_DIR'],
'relative': [
{
'path': 'opt'
}
]
}
]

# ==============================================================================
# For pylint checking and API documentation only
# ==============================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

action('install', stage=Stage.INSTALL, cmd=f'make DESTDIR={DEFAULT_OPTIONS["INSTALL_DIR"]} install')

DATA_TO_ARCHIVE = [
DEV_PKG_DATA_TO_ARCHIVE = [
{
'from_path': DEFAULT_OPTIONS['BUILD_DIR'],
'relative': [
Expand All @@ -82,6 +82,17 @@
}
]

INSTALL_PKG_DATA_TO_ARCHIVE = [
{
'from_path': DEFAULT_OPTIONS['INSTALL_DIR'],
'relative': [
{
'path': 'opt'
}
]
}
]

# ==============================================================================
# For pylint checking and API documentation only
# ==============================================================================
Expand Down

0 comments on commit 743021f

Please sign in to comment.