[PATCH 10/38] uapi: drop obsolete logic for generated headers
From: Sam Ravnborg
Date: Mon Jul 14 2014 - 11:17:55 EST
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@xxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/