summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwanchao-xu <wanchao.xu@samsung.com>2023-08-30 14:15:10 +0800
committerwanchao-xu <wanchao.xu@samsung.com>2023-08-31 10:58:13 +0800
commit55c2ba2668fcd592e4fa5d0449933b682079a985 (patch)
tree432b4e342f81ccc0f86400dfdb7721b700bfe4b0
parent85dc945c4e435838079990d68cf35cbea6884485 (diff)
downloadqemu-arm-static-55c2ba2668fcd592e4fa5d0449933b682079a985.tar.gz
qemu-arm-static-55c2ba2668fcd592e4fa5d0449933b682079a985.tar.bz2
qemu-arm-static-55c2ba2668fcd592e4fa5d0449933b682079a985.zip
Add debian
Change-Id: I1d66d01afe1b9a8fb2915131a3b82c04cf626c04 Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
-rw-r--r--debian/changelog31
-rw-r--r--debian/compat1
-rw-r--r--debian/control14
-rw-r--r--debian/rules132
4 files changed, 178 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..574271f4f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,31 @@
+qemu-arm-static (1.6.0rc3-tizen20200617) unstable; urgency=low
+
+ * Fix deb upload failed issue on launchpad
+ * change struct ucontext to ucontext_t
+ * use ucontext_t instead struct ucontext.
+ * fix pylint errors for qemu-arm-static
+ * fix build error in xUbuntu_19.10
+ * fix build error for ubuntu20.04
+
+ -- Yan Meng <yan11.meng@samsung.com> Wed, 17 Jun 2020 19:30:00 +0200
+
+qemu-arm-static (1.6.0rc3-tizen20161231) unstable; urgency=low
+
+ * Add depands packae qemu
+ * Add the qemu-arm-binfmt (qemu-arm64-binfmt)
+ * Upgrade tizen version to tizen20161231
+
+ -- SoonKyu Park <sk7.park@samsung.com> Sat, 31 Dec 2016 19:30:00 +0200
+
+qemu-arm-static (1.6.0rc3-tizen20141002) unstable; urgency=low
+
+ * Change packaging to Debian non-native
+
+ -- Markus Lehtonen <markus.lehtonen@linux.intel.com> Thu, 02 Oct 2014 16:40:35 +0300
+
+qemu-arm-static (1.6.0) unstable; urgency=low
+
+ * update to v1.6.0
+
+ -- Gui Chen <gui.chen@intel.com> Wed, 09 Jul 2014 17:25:35 +0800
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..05adab99f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: qemu-arm-static
+Section: devel
+Priority: extra
+Maintainer: Gui Chen <gui.chen@intel.com>
+Homepage: http://wiki.qemu.org/Index.html
+Standards-Version: 3.7.0
+Build-Depends: debhelper (>= 4.0.0), dpatch, cdbs, pkg-config, bzip2, uuid-dev, zlib1g-dev, zlib1g, texi2html, libc6, libglib2.0-dev,
+
+Package: qemu-arm-static
+Architecture: i386 amd64
+Depends: bzip2, uuid-dev, zlib1g-dev, zlib1g, texi2html, libc6, qemu
+Replaces: qemu-user-static
+Provides: tizen-qemu-arm-static-2023.08.30
+Description: QEMU is an extremely well-performing CPU emulator that allows you to choose between simulating an entire system and running userspace binaries for different architectures under your native operating system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well as PC and PowerMac systems.
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 000000000..bb9e6b7eb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,132 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+unexport LDFLAGS
+
+build: build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib64 \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/packages \
+ --firmwarepath=/usr/share/qemu-arm-static \
+ --python=/usr/bin/python3 \
+ --extra-cflags="$(CFLAGS) $(CPPFLAGS)" \
+ --target-list="arm-linux-user,aarch64-linux-user,riscv32-linux-user,riscv64-linux-user" \
+ --disable-fuzzing \
+ --disable-stack-protector \
+ --disable-strip \
+ --without-default-devices \
+ --disable-system \
+ --enable-linux-user \
+ --disable-tools \
+ --disable-guest-agent \
+ --static \
+ --disable-modules \
+ --disable-pie \
+ --disable-docs \
+ --audio-drv-list="" \
+ --disable-blobs \
+ --disable-bochs \
+ --disable-capstone \
+ --disable-cloop \
+ --enable-coroutine-pool \
+ --disable-dmg \
+ --disable-fdt \
+ --disable-iconv \
+ --disable-kvm \
+ --disable-libdaxctl \
+ --disable-linux-io-uring \
+ --disable-malloc-trim \
+ --disable-membarrier \
+ --disable-parallels \
+ --disable-plugins \
+ --disable-qcow1 \
+ --disable-qed \
+ --disable-replication \
+ --disable-sheepdog \
+ --disable-safe-stack \
+ --disable-slirp \
+ --disable-tpm \
+ --disable-vdi \
+ --disable-vhost-crypto \
+ --disable-vhost-kernel \
+ --disable-vhost-net \
+ --disable-vhost-scsi \
+ --disable-vhost-user \
+ --disable-vhost-user-blk-server \
+ --disable-vhost-user-fs \
+ --disable-vhost-vsock \
+ --disable-vnc \
+ --disable-vvfat \
+ --disable-xkbcommon
+ dh_auto_build
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ make DESTDIR=$(CURDIR)/debian/qemu-arm-static install
+ mkdir -p $(CURDIR)/debian/qemu-arm-static/usr/sbin/
+ install -m755 scripts/qemu-binfmt-conf.sh $(CURDIR)/debian/qemu-arm-static/usr/sbin/
+ mv $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-arm $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-arm-static
+ mv $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-aarch64 $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-arm64-static
+ mv $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-riscv32 $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-riscv32-static
+ mv $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-riscv64 $(CURDIR)/debian/qemu-arm-static/usr/bin/qemu-riscv64-static
+ rm -rf $(CURDIR)/debian/qemu-arm-static/usr/share
+ rm -rf $(CURDIR)/debian/qemu-arm-static/usr/etc
+ rm -rf $(CURDIR)/debian/qemu-arm-static/etc
+ rm -rf $(CURDIR)/debian/qemu-arm-static/usr/libexec/
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_install
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_install
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install