|
@@ -197,6 +197,22 @@ define filechk_umlconfig
|
|
sed 's/ CONFIG/ UML_CONFIG/'
|
|
sed 's/ CONFIG/ UML_CONFIG/'
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+define filechk_gen-asm-offsets
|
|
|
|
+ (set -e; \
|
|
|
|
+ echo "#ifndef __ASM_OFFSETS_H__"; \
|
|
|
|
+ echo "#define __ASM_OFFSETS_H__"; \
|
|
|
|
+ echo "/*"; \
|
|
|
|
+ echo " * DO NOT MODIFY."; \
|
|
|
|
+ echo " *"; \
|
|
|
|
+ echo " * This file was generated by arch/$(ARCH)/Makefile"; \
|
|
|
|
+ echo " *"; \
|
|
|
|
+ echo " */"; \
|
|
|
|
+ echo ""; \
|
|
|
|
+ sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
|
|
|
|
+ echo ""; \
|
|
|
|
+ echo "#endif" )
|
|
|
|
+endef
|
|
|
|
+
|
|
$(ARCH_DIR)/include/uml-config.h : include/linux/autoconf.h
|
|
$(ARCH_DIR)/include/uml-config.h : include/linux/autoconf.h
|
|
$(call filechk,umlconfig)
|
|
$(call filechk,umlconfig)
|
|
|
|
|