diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-10 09:16:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-10 09:16:30 -0700 |
| commit | cce4ae634cef74ff822a3c1576b203f427f85cb2 (patch) | |
| tree | e457a2ebca392dac8f3bd5ae1898ddb052fe23f3 /scripts/Makefile.build | |
| parent | c293b6331e94e39263a9bca599e1626ed15b3fbd (diff) | |
| parent | 138aa1d287d4200cf7dcb7e9cd7208ead8f76ec6 (diff) | |
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'scripts/Makefile.build')
| -rw-r--r-- | scripts/Makefile.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 21cb20586b47..672b0082e21f 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -160,9 +160,7 @@ else cmd_cc_o_c = $(CC) $(c_flags) -c -o $(@D)/.tmp_$(@F) $< cmd_modversions = \ - if ! $(OBJDUMP) -h $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \ - mv $(@D)/.tmp_$(@F) $@; \ - else \ + if $(OBJDUMP) -h $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \ $(CPP) -D__GENKSYMS__ $(c_flags) $< \ | $(GENKSYMS) \ > $(@D)/.tmp_$(@F:.o=.ver); \ @@ -170,6 +168,8 @@ cmd_modversions = \ $(LD) $(LDFLAGS) -r -o $@ $(@D)/.tmp_$(@F) \ -T $(@D)/.tmp_$(@F:.o=.ver); \ rm -f $(@D)/.tmp_$(@F) $(@D)/.tmp_$(@F:.o=.ver); \ + else \ + mv $(@D)/.tmp_$(@F) $@; \ fi; endif |
