Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
kexec: Fix Makefile of linking kdump file
Browse files Browse the repository at this point in the history
When make kdump object file, the expression of linking kdump ignores
LDFLAGS. If someone want to build kdump with static links, it won't
product object file with static attributes. So, fix it.

Signed-off-by: Haifeng Li <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
  • Loading branch information
tek-life authored and horms committed Mar 27, 2013
1 parent 8f1cfc6 commit fa101c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kdump/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ clean += $(KDUMP_OBJS) $(KDUMP_DEPS) $(KDUMP) $(KDUMP_MANPAGE)
$(KDUMP): CC=$(TARGET_CC)
$(KDUMP): $(KDUMP_OBJS)
@$(MKDIR) -p $(@D)
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $(KDUMP_OBJS)
$(LINK.o) -o $@ $^ $(CFLAGS) $(LIBS)

$(KDUMP_MANPAGE): kdump/kdump.8
$(MKDIR) -p $(MANDIR)/man8
Expand Down

0 comments on commit fa101c3

Please sign in to comment.