diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2017-10-16 15:01:16 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2017-10-16 15:01:16 +0300 |
commit | 461b0c8c071b23a20e0322bf968f3c9db3518b04 (patch) | |
tree | d912a54b0e7e58d2f68e5c87723e68c7f73610b5 | |
parent | 7e274f85a7e9add8c2882d4724459bb7eda528f2 (diff) |
switch to firmwarepath
-rw-r--r-- | debian/patches/series | 4 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/patches/series b/debian/patches/series index ae9d5b0..119d924 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,2 @@ -use-data-path.patch -use-fixed-data-path.patch +#use-data-path.patch +#use-fixed-data-path.patch diff --git a/debian/rules b/debian/rules index 3059a7b..1e0f526 100755 --- a/debian/rules +++ b/debian/rules @@ -34,7 +34,8 @@ DATAPATH = /usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu # we add another set of configure options from debian/control common_configure_opts = \ --with-pkgversion="Debian $(DEB_VERSION)" \ - --extra-cflags="$(CFLAGS) $(CPPFLAGS) -DCONFIG_QEMU_DATAPATH='\"${DATAPATH}\"' -DVENDOR_$(VENDOR)" \ + --extra-cflags="$(CFLAGS) $(CPPFLAGS) -DVENDOR_$(VENDOR)" \ + --firmwarepath="${DATAPATH}" --extra-ldflags="$(LDFLAGS) -Wl,--as-needed" \ --prefix=/usr \ --sysconfdir=/etc \ |