summaryrefslogtreecommitdiffstats
path: root/patches/fbutils-20041102-1/0005-Makefile-create-non-existing-directories.patch
blob: 88dc13d02dd4554ec73e0b608e638ada30c66be3 (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
27
28
29
30
31
From 3b37ba348fd5537ca456fc4175cb22eebcc143c1 Mon Sep 17 00:00:00 2001
From: Sascha Hauer <s.hauer@pengutronix.de>
Date: Fri, 26 Feb 2010 12:29:56 +0100
Subject: [PATCH 5/6] [Makefile] create non-existing directories

Use install -D, in case the directory does not exist yet; this may
happen when building with some cross build system which builds up the
root filesystem from scratch.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index b59d492..155a68d 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ install:
 		$(INSTALL) fbset/fbset $(DESTDIR)/usr/sbin/fbset
 		$(INSTALL) fbcmap/fbcmap $(DESTDIR)/usr/sbin/fbcmap
 		$(INSTALL) con2fbmap/con2fbmap $(DESTDIR)/usr/sbin/con2fbmap
-		$(INSTALL) -p etc/modes $(DESTDIR)/etc/fb/modes
+		$(INSTALL) -D -p etc/modes $(DESTDIR)/etc/fb/modes
 
 include Rules.build
 
-- 
1.7.0