Bug 11511 - Build failure caused by commit 4f2ef4a836be37b25808c94f41c7c85895db6f93
Summary: Build failure caused by commit 4f2ef4a836be37b25808c94f41c7c85895db6f93
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-15 02:30 UTC by shixuan.zhao
Modified: 2018-11-20 16:06 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.