From cf49dec3035073470db06c8047edc37174181a85 Mon Sep 17 00:00:00 2001
From: Oleg Hahm <oleg@hobbykeller.org>
Date: Wed, 1 Oct 2014 22:29:59 +0200
Subject: [PATCH] make: fix the order of Makefile.dep for timex

The order of modules in Makefile.dep matters.
---
 Makefile.dep | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile.dep b/Makefile.dep
index a8f7727818..b301fac201 100644
--- a/Makefile.dep
+++ b/Makefile.dep
@@ -47,17 +47,17 @@ ifneq (,$(filter sixlowpan,$(USEMODULE)))
 	USEMODULE += vtimer
 endif
 
+ifneq (,$(filter uart0,$(USEMODULE)))
+	USEMODULE += lib
+	USEMODULE += posix
+endif
+
 ifneq (,$(filter posix,$(USEMODULE)))
 	USEMODULE += uart0
 	USEMODULE += timex
 	USEMODULE += vtimer
 endif
 
-ifneq (,$(filter uart0,$(USEMODULE)))
-	USEMODULE += lib
-	USEMODULE += posix
-endif
-
 ifneq (,$(filter cbor,$(USEMODULE)))
 	USEMODULE += net_help
 endif
-- 
GitLab