[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1405350546-28467-10-git-send-email-sam@ravnborg.org>
Date: Mon, 14 Jul 2014 17:08:38 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: lkml <linux-kernel@...r.kernel.org>,
linux-arch <linux-arch@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>,
David Howells <dhowells@...hat.com>
Subject: [PATCH 10/38] uapi: drop obsolete logic for generated headers
We no longer call this Makefile with gen set to anything,
so we can simplify logic to find dir for generated files.
Signed-off-by: Sam Ravnborg <sam@...nborg.org>
Cc: David Howells <dhowells@...hat.com>
---
scripts/Makefile.headersinst | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index 3f72031..4718758 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -7,9 +7,6 @@
#
# ==========================================================================
-# generated header directory
-gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj)))
-
kbuild-file := $(srctree)/$(obj)/Kbuild
include $(kbuild-file)
@@ -33,7 +30,7 @@ check-file := $(installdir)/.check
wrapper-files := $(filter $(header-y), $(generic-y))
srcdir := $(srctree)/$(obj)
-gendir := $(objtree)/$(gen)
+gendir := $(objtree)/$(subst include/,include/generated/,$(obj))
# all headers files for this dir
header-y := $(filter-out $(generic-y), $(header-y))
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists