summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild.example18
1 files changed, 7 insertions, 11 deletions
diff --git a/build.example b/build.example
index 9040a47..a3cffa4 100755
--- a/build.example
+++ b/build.example
@@ -39,18 +39,14 @@ libfoo.42.buildstamp:
cd ..
# Make a debugging binary, strip the regular one of debugging symbols, and
# add to the regular binary a link directing GDB to the debugging binary.
- objcopy --only-keep-debug dest/usr/lib/libfoo.so.42 \
- dest/usr/lib/debug/usr/lib/libfoo.so.42
- strip -g dest/usr/lib/libfoo.so.42
- objcopy --add-gnu-debuglink=/usr/lib/debug/usr/lib/libfoo.so.42 \
- dest/usr/lib/libfoo.so.42
+ oh-strip -g /usr/lib/libfoo.so.42
# Move files from 'dest' into a binary package.
- opk-installfiles libfoo.42
- opk-installfiles libfoo.42-dbg
- opk-installfiles libfoo.42-dev
+ oh-installfiles libfoo.42
+ oh-installfiles libfoo.42-dbg
+ oh-installfiles libfoo.42-dev
# Pack each binary package.
- opk-pack libfoo.42
- opk-pack libfoo.42-dbg
- opk-pack libfoo.42-dev
+ oh-buildopk libfoo.42
+ oh-buildopk libfoo.42-dbg
+ oh-buildopk libfoo.42-dev
# Touch the build stamp to prevent these packages from being built again.
touch libfoo.42.buildstamp