projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] powerpc: Move various ppc64 files with no ppc32 equivalent to powerpc
[firefly-linux-kernel-4.4.55.git]
/
Kbuild
diff --git
a/Kbuild
b/Kbuild
index 1880e6f760aab05f139d74400d2477e7c47681da..79003918f37f2593e157778734f2bb83d131abb1 100644
(file)
--- a/
Kbuild
+++ b/
Kbuild
@@
-4,7
+4,7
@@
# 1) Generate asm-offsets.h
#####
# 1) Generate asm-offsets.h
#####
-# 1) Generate asm-offsets.h
+# 1) Generate asm-offsets.h
#
offsets-file := include/asm-$(ARCH)/asm-offsets.h
#
offsets-file := include/asm-$(ARCH)/asm-offsets.h
@@
-22,6
+22,7
@@
sed-$(CONFIG_MIPS) := "/^@@@/s///p"
quiet_cmd_offsets = GEN $@
define cmd_offsets
quiet_cmd_offsets = GEN $@
define cmd_offsets
+ mkdir -p $(dir $@); \
cat $< | \
(set -e; \
echo "#ifndef __ASM_OFFSETS_H__"; \
cat $< | \
(set -e; \
echo "#ifndef __ASM_OFFSETS_H__"; \
@@
-43,6
+44,6
@@
arch/$(ARCH)/kernel/asm-offsets.s: arch/$(ARCH)/kernel/asm-offsets.c FORCE
$(Q)mkdir -p $(dir $@)
$(call if_changed_dep,cc_s_c)
$(Q)mkdir -p $(dir $@)
$(call if_changed_dep,cc_s_c)
-$(
srctree
)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild
+$(
obj
)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild
$(call cmd,offsets)
$(call cmd,offsets)