Skip to content

Commit 56bae80

Browse files
committed
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild fixes from Michal Marek: "There are two more kbuild fixes for 3.6. One fixes a race between x86's archscripts target and the rule (re)building scripts/basic/fixdep. The second is a fix for the previous attempt at fixing make firmware_install with make 3.82. This new solution should work with any version of GNU make" * 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: x86/kbuild: archscripts depends on scripts_basic firmware: fix directory creation rule matching with make 3.80
2 parents 0737c8d + 24cc7fb commit 56bae80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/x86/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ KBUILD_CFLAGS += $(call cc-option,-mno-avx,)
142142
KBUILD_CFLAGS += $(mflags-y)
143143
KBUILD_AFLAGS += $(mflags-y)
144144

145-
archscripts:
145+
archscripts: scripts_basic
146146
$(Q)$(MAKE) $(build)=arch/x86/tools relocs
147147

148148
###

scripts/Makefile.fwinst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endif
2727
installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw))
2828

2929
installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all))
30-
installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/.
30+
installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/./
3131

3232
# Workaround for make < 3.81, where .SECONDEXPANSION doesn't work.
3333
PHONY += $(INSTALL_FW_PATH)/$$(%) install-all-dirs
@@ -42,7 +42,7 @@ quiet_cmd_install = INSTALL $(subst $(srctree)/,,$@)
4242
$(installed-fw-dirs):
4343
$(call cmd,mkdir)
4444

45-
$(installed-fw): $(INSTALL_FW_PATH)/%: $(obj)/% | $$(dir $(INSTALL_FW_PATH)/%)
45+
$(installed-fw): $(INSTALL_FW_PATH)/%: $(obj)/% | $(INSTALL_FW_PATH)/$$(dir %)
4646
$(call cmd,install)
4747

4848
PHONY += __fw_install __fw_modinst FORCE

0 commit comments

Comments
 (0)