Skip to contentSkip to conversation

The make target: cross fails because toolchain_build_<arch>/bin/sed not found

Buildroot Darcy L. Watkins 1 participant 1 message Apr 2, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

Hello,

In the toplevel Makefile is a target 'cross' that appears to be intended to allow you to build the cross toolchain without building everything else. Unfortunately it doesn't work from a clean extract of the tarball.

If you invoke 'make cross' an error happens because sed is missing.

The following appears to fix it... [based on the 2009.02 release]

Makefile renamed from Makefile.orig +1 -1
@@ -499,7 +499,7 @@ log:	.lognr.$(PROJECT)
 	@$(MAKE) > $(PROJECT)-`cat .lognr.$(PROJECT)`.log 2>&1
 
 
-cross: $(BASE_TARGETS)
+cross: dependencies dirs target-host-info $(BASE_TARGETS)
 
 help:
 	@echo 'Cleaning:'

Regards,

Darcy