# Generated include files
#
include/asm
-include/asm-*/asm-offsets.h
include/config
include/linux/autoconf.h
include/linux/compile.h
# 2) Generate asm-offsets.h
#
-offsets-file := include/asm/asm-offsets.h
+offsets-file := include/generated/asm-offsets.h
always += $(offsets-file)
targets += $(offsets-file)
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
include/linux/autoconf.h include/linux/version.h \
include/linux/utsrelease.h \
- include/asm*/asm-offsets.h \
Module.symvers Module.markers tags TAGS cscope*
# clean - Delete most, but leave enough to build external modules
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
$(SHARED_HEADERS)/kern_constants.h:
$(Q)mkdir -p $(dir $@)
- $(Q)echo '#include "../../../../include/asm/asm-offsets.h"' >$@
+ $(Q)echo '#include "../../../../include/generated/asm-offsets.h"' >$@
export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH DEV_NULL_PATH
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>
--- /dev/null
+#include <generated/asm-offsets.h>