Bug 11511

Summary: Build failure caused by commit 4f2ef4a836be37b25808c94f41c7c85895db6f93
Product: Busybox Reporter: shixuan.zhao
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: critical CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description shixuan.zhao 2018-11-15 02:30:15 UTC
The commit 4f2ef4a836be37b25808c94f41c7c85895db6f93's /Makefile has a bug in quiet_cmd_gen_embedded when the output path is set differently. The file "script/embedded_script" is located in the $(srctree)/ instead of the new output path thus results in a file not found error.

A possible patch could be

-      cmd_gen_embedded_scripts = scripts/embedded_scripts include/embedded_scripts.h embed
+      cmd_gen_embedded_scripts = $(srctree)/scripts/embedded_scripts include/embedded_scripts.h embed

This patch works good for me.