Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
build-system
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
build-system
Commits
311427c9
Commit
311427c9
authored
Mar 24, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for multiple systems to Makefile
parent
208eb834
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Makefile.common
Makefile.common
+7
-0
common.xml
common.xml
+2
-1
No files found.
Makefile.common
View file @
311427c9
current_dir
:=
$(
dir
$(
abspath
$(
lastword
$(MAKEFILE_LIST)
)))
default
:
if
[[
!
-z
"
$(BOARD)
"
]]
;
then
\
$(MAKE)
$(BOARD)
;
\
else
\
$(MAKE)
packages
;
\
fi
PACKAGES
=
$(TEMPORARY_PACKAGES)
$(BASE_PACKAGES)
$(BOOT_PACKAGES)
.PHONY
:
packages set-version set-hostname $(PACKAGES) cleanup success
...
...
common.xml
View file @
311427c9
...
...
@@ -462,13 +462,14 @@ VERSION="${VERSION}"
BUILD_ID=${BUILD_ID}
ARTIFACT_NAME=${ARTIFACT_NAME}
DEVICE_TYPE=${DEVICE_TYPE}
BOARD="${BOARD}"
CONSOLE="${CONSOLE}"
ROOT_DEVICE="${ROOT_DEVICE}"
DISK="${DISK}"
SECONDARY="${SECONDARY}"
SHUTDOWN_WATCHDOG="${SHUTDOWN_WATCHDOG}"
RUNTIME_WATCHDOG="${RUNTIME_WATCHDOG}"
export LC_ALL PATH PROJECT_NAME ID PRETTY_NAME HOSTNAME VERSION BUILD_ID ARTIFACT_NAME DEVICE_TYPE CONSOLE ROOT_DEVICE DISK SECONDARY SHUTDOWN_WATCHDOG RUNTIME_WATCHDOG HOSTTYPE
export LC_ALL PATH PROJECT_NAME ID PRETTY_NAME HOSTNAME VERSION BUILD_ID ARTIFACT_NAME DEVICE_TYPE
BOARD
CONSOLE ROOT_DEVICE DISK SECONDARY SHUTDOWN_WATCHDOG RUNTIME_WATCHDOG HOSTTYPE
mount -o remount,rw /
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment