sparc, sparc64: use arch/sparc/include
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / Makefile
index 40f24810116ccfcf9fe775b03c0fd58eef5fe905..baee3d414754f0b2c169ebd73d2876a8ad94d0c1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,11 @@ ifeq ($(ARCH),x86_64)
 endif
 
 # Where to locate arch specific headers
-hdr-arch       := $(SRCARCH)
+ifeq ($(ARCH),sparc64)
+       hdr-arch  := sparc
+else
+       hdr-arch  := $(SRCARCH)
+endif
 
 KCONFIG_CONFIG ?= .config