um: Generate headers before generating user-offsets.s
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 6 Dec 2011 00:06:02 +0000 (16:06 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 6 Dec 2011 00:06:02 +0000 (16:06 -0800)
In case we need generated header files for the values in
user-offsets.h, make sure we build generated header files before
user-offsets.s is built.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/um/Makefile

index 00210e9bf202e53eb4ceca0f527f8b4e03a80c97..9548ddca1a3d0a58bb72381be5c57caf0d01a01b 100644 (file)
@@ -140,7 +140,7 @@ archclean:
 
 # Generated files
 
-$(HOST_DIR)/um/user-offsets.s: FORCE
+$(HOST_DIR)/um/user-offsets.s: __headers FORCE
        $(Q)$(MAKE) $(build)=$(HOST_DIR)/um $@
 
 define filechk_gen-asm-offsets