Commit 94dd02f5 authored by Jeremy Rosen's avatar Jeremy Rosen Committed by Peter Korsgaard
Browse files

prevent recursion in %_defconfig rules

parent 1eac073b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -761,10 +761,14 @@ defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
	@mkdir -p $(BUILD_DIR)/buildroot-config
	@$(COMMON_CONFIG_ENV) $< --defconfig=$(TOPDIR)/configs/$@ $(CONFIG_CONFIG_IN)

$(TOPDIR)/configs/%_defconfig:;

%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(BR2_EXTERNAL)/configs/%_defconfig outputmakefile
	@mkdir -p $(BUILD_DIR)/buildroot-config
	@$(COMMON_CONFIG_ENV) $< --defconfig=$(BR2_EXTERNAL)/configs/$@ $(CONFIG_CONFIG_IN)

$(BR2_EXTERNAL)/configs/%_defconfig:;

savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
	@mkdir -p $(BUILD_DIR)/buildroot-config
	@$(COMMON_CONFIG_ENV) $< \