diff options
Diffstat (limited to 'meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch')
-rw-r--r-- | meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch b/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch new file mode 100644 index 0000000000..57c8d04fd7 --- /dev/null +++ b/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From 7ace0656bd325f9e7749f2cde641eddc057bc98a Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 9 Jan 2020 15:38:06 +0100 | ||
4 | Subject: [PATCH] Makefile: do not use dpkg for determining OS type | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | Makefile | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/Makefile b/Makefile | ||
13 | index 0ce2fa3..739aef2 100644 | ||
14 | --- a/Makefile | ||
15 | +++ b/Makefile | ||
16 | @@ -1,6 +1,6 @@ | ||
17 | VERSION ?= 0.8 | ||
18 | CFLAGS ?= -Wall -W -Wno-unused-parameter -g -O2 | ||
19 | -ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) | ||
20 | +ARCH := linux | ||
21 | |||
22 | BASEDIR ?= $(DESTDIR) | ||
23 | |||