Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
2f93b72a
Commit
2f93b72a
authored
Aug 04, 2011
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbb: add dmake support
parent
d0e4adca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
rpmbb
bin/rpmbb
+3
-1
build
share/eterbuild/functions/build
+2
-0
No files found.
bin/rpmbb
View file @
2f93b72a
...
...
@@ -41,9 +41,10 @@ phelp()
echog
"Ext. options:"
echog
" -c start from compile stage"
echog
" -p packaging installed files into package"
echog
" -d build with dmake"
}
while
getopts
:hciprR opt
;
do
while
getopts
:hciprR
d
opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
c
)
BUILDOPT
=
"c"
;;
...
...
@@ -51,6 +52,7 @@ while getopts :hciprR opt; do
p
)
BUILDOPT
=
"b"
;;
r
)
BUILDREQ
=
"-bc"
;;
R
)
BUILDREQ
=
"-bi"
;;
d
)
USEDMAKE
=
"1"
;;
+?
)
echog
"
$name
: options should not be preceded by a '+'."
1>&2
;
exit
2
;;
# ?) echog "$name: $OPTARG: bad option. Use -h for help." 1>&2 ; exit 2;;
?
)
OPTIND
=
$((
OPTIND-1
))
;
break
;
...
...
share/eterbuild/functions/build
View file @
2f93b72a
...
...
@@ -51,6 +51,8 @@ uni_rpmbuild()
FOURPARAM
=
"--define=__ccache_dir
$CCACHE_DIR
"
fi
local
SIXPARAM
=
"--quiet"
[
-n
"
$USEDMAKE
"
]
&&
SIXPARAM
=
"--define=make_build dmake"
if
is_gear
$SPECDIR
;
then
[
-f
"
$SPECNAME
"
]
||
fatal
"run uni_rpmbuild with spec as 2nd parameter"
...
...
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