summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel-armv7l.spec
diff options
context:
space:
mode:
authorVyacheslav Barinov <v.barinov@samsung.com>2015-02-10 10:07:48 +0300
committerDongkyun, Son <dongkyun.s@samsung.com>2016-05-19 21:05:31 +0900
commit42d272f6f01706e533704f31c005176ac58a6dbf (patch)
tree2ee6a3fab383437e3bb809be8b1bb9d5d6e67831 /packaging/qemu-accel-armv7l.spec
parent6f76371957017c8197d5db26fd4bcd576214bdf1 (diff)
downloadqemu-accel-42d272f6f01706e533704f31c005176ac58a6dbf.tar.gz
qemu-accel-42d272f6f01706e533704f31c005176ac58a6dbf.tar.bz2
qemu-accel-42d272f6f01706e533704f31c005176ac58a6dbf.zip
Ignoring non-existent files during build
Now the qemu-accel package can be used even if dependencies changed. Discovered during switching off msm.so plugin. Conflicts: packaging/qemu-accel-aarch64.spec packaging/qemu-accel-armv7l.spec packaging/qemu-accel.spec.in Change-Id: Iea4b9849a28ba2f3aed18d46e97a61819359d62d Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Diffstat (limited to 'packaging/qemu-accel-armv7l.spec')
-rw-r--r--packaging/qemu-accel-armv7l.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index c00b5df..d0c07cd 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -140,7 +140,8 @@ echo ""
for binary in $binaries
do
outfile=%{buildroot}/%{our_path}/$binary
- [ -f $outfile ] && continue
+ [ ! -e $binary ] && echo "WARNING: File '${binary}' not found, ignoring" && continue
+ [ -f $outfile ] && echo "WARNING: File '${outfile}' exists, ignoring" && continue
mkdir -p ${outfile%/*}
cp -aL $binary $outfile
objdump -s -j .rodata -j .data $outfile | sed 's/^ *\([a-z0-9]*\)/\1:/' | \