summarylogtreecommitdiffstats
path: root/0003-add-archlinux-as-build-option.patch
blob: 3976de203a7ed6254d1acc2da010872062aaa690 (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 a15dae29e472aff257f7aa8d536ab057a683c354 Mon Sep 17 00:00:00 2001
From: David McFarland <corngood@gmail.com>
Date: Sat, 8 Apr 2017 15:58:42 -0300
Subject: [PATCH 3/3] add archlinux as build option

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

diff --git a/Makefile b/Makefile
index 13b1f74..6b3686b 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,9 @@ else ifeq ("sles",$(OS_NAME))
 subdir-ccflags-y += -DOS_NAME_SLE
 else ifeq ("amzn",$(OS_NAME))
 subdir-ccflags-y += -DOS_NAME_AMZ
+else ifeq ("arch",$(OS_NAME))
+subdir-ccflags-y += -DOS_NAME_ARCH
+OS_VERSION = "0.0"
 else
 subdir-ccflags-y += -DOS_NAME_UNKNOWN
 endif
-- 
2.14.1