summarylogtreecommitdiffstats
path: root/0005-add-archlinux-as-build-option.patch
blob: f734d2a43999f6cf663540f9f3f652197856e9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 2acf2e71a6ea4b4bf054b224482be6b5a0ba6f2c Mon Sep 17 00:00:00 2001
From: David McFarland <corngood@gmail.com>
Date: Sat, 8 Apr 2017 15:58:42 -0300
Subject: [PATCH 5/5] add archlinux as build option

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index e8f360e..019b65d 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,9 @@ else ifeq ("sled",$(OS_NAME))
 subdir-ccflags-y += -DOS_NAME_SLE
 else ifeq ("sles",$(OS_NAME))
 subdir-ccflags-y += -DOS_NAME_SLE
+else ifeq ("arch",$(OS_NAME))
+subdir-ccflags-y += -DOS_NAME_ARCH
+OS_VERSION = "0.0"
 else
 subdir-ccflags-y += -DOS_NAME_UNKNOWN
 endif
-- 
2.12.2