[Buildroot] [PATCH] small patches (was: skeleton patch)
Roberto A. Foglietta
roberto.foglietta at gmail.com
Tue Nov 18 23:19:16 UTC 2008
Hi
the command "make BOARD=$PROJECT getconfig" fails if it called at the
beginning of the project. It makes sense doing it because local could
be copied from another project in order to start it from scratch
again. This patch try to fix the problem (bug report n.6044)
--- project/project.mk.prev 2008-11-09 12:03:47.000000000 +0100
+++ project/project.mk 2008-11-09 12:04:31.000000000 +0100
@@ -46,8 +46,10 @@ saveconfig: $(CONFIG)/conf
$(LOCAL)/$(PROJECT)/u-boot/$(PROJECT).h; \
fi
-getconfig: $(CONFIG)/conf
+getconfig:
+ -@$(MAKE) CC="$(HOSTCC)" -C $(CONFIG) conf mconf
-cp $(LOCAL)/$(PROJECT)/$(PROJECT).config .config
+ - at yes "" | $(MAKE) config
vendor-dbg:
@echo VENDOR_SITE=$(BR2_VENDOR_SITE)
--- Makefile.prev 2008-11-09 12:04:41.000000000 +0100
+++ Makefile 2008-11-09 12:05:02.000000000 +0100
@@ -512,5 +512,5 @@ help:
@echo
.PHONY: dummy subdirs release distclean clean config oldconfig \
- menuconfig tags check test depend defconfig help
+ menuconfig tags check test depend defconfig help .config.cmd
Ciao,
--
/roberto
More information about the buildroot
mailing list