OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qede: Fix system crash on configuring channels.
[uclinux-h8/linux.git]
/
Kbuild
diff --git
a/Kbuild
b/Kbuild
index
0053042
..
65db5be
100644
(file)
--- a/
Kbuild
+++ b/
Kbuild
@@
-16,11
+16,7
@@
bounds-file := include/generated/bounds.h
always := $(bounds-file)
targets := kernel/bounds.s
always := $(bounds-file)
targets := kernel/bounds.s
-# We use internal kbuild rules to avoid the "is up to date" message from make
-kernel/bounds.s: kernel/bounds.c FORCE
- $(call if_changed_dep,cc_s_c)
-
-$(obj)/$(bounds-file): kernel/bounds.s FORCE
+$(bounds-file): kernel/bounds.s FORCE
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
@@
-30,15
+26,9
@@
timeconst-file := include/generated/timeconst.h
targets += $(timeconst-file)
targets += $(timeconst-file)
-quiet_cmd_gentimeconst = GEN $@
-define cmd_gentimeconst
- (echo $(CONFIG_HZ) | bc -q $< ) > $@
-endef
-define filechk_gentimeconst
- (echo $(CONFIG_HZ) | bc -q $< )
-endef
+filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $<
-$(
obj)/$(
timeconst-file): kernel/time/timeconst.bc FORCE
+$(timeconst-file): kernel/time/timeconst.bc FORCE
$(call filechk,gentimeconst)
#####
$(call filechk,gentimeconst)
#####
@@
-50,12
+40,9
@@
offsets-file := include/generated/asm-offsets.h
always += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
always += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
-# We use internal kbuild rules to avoid the "is up to date" message from make
-arch/$(SRCARCH)/kernel/asm-offsets.s: arch/$(SRCARCH)/kernel/asm-offsets.c \
- $(obj)/$(timeconst-file) $(obj)/$(bounds-file) FORCE
- $(call if_changed_dep,cc_s_c)
+arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
-$(o
bj)/$(o
ffsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
+$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
@@
-77,7
+64,7
@@
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
extra-$(CONFIG_GDB_SCRIPTS) += build_constants_py
extra-$(CONFIG_GDB_SCRIPTS) += build_constants_py
-build_constants_py: $(
obj)/$(timeconst-file) $(obj)/
$(bounds-file)
+build_constants_py: $(
timeconst-file)
$(bounds-file)
@$(MAKE) $(build)=scripts/gdb/linux $@
# Keep these three files during make clean
@$(MAKE) $(build)=scripts/gdb/linux $@
# Keep these three files during make clean