[Bug 1755] New: rtems-bin2c not friendly for files in other directories
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sun Mar 6 12:09:23 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1755
Summary: rtems-bin2c not friendly for files in other
directories
Product: RTEMS
Version: HEAD
Platform: All
OS/Version: RTEMS
Status: NEW
Severity: normal
Priority: P3
Component: tools
AssignedTo: ralf.corsepius at rtems.org
ReportedBy: dufault at hda.com
Created an attachment (id=1124)
--> (https://www.rtems.org/bugzilla/attachment.cgi?id=1124)
Patch to give acceptable guard define for path names
I have my source read-only and build into other directories from the source
directory.
A command such as:
rtems-bin2c
/home/dufault/work/scratch/V10.1.0/powerpc-unknown-rtems/solarcat/fs
/home/dufault/work/scratch/V10.1.0/powerpc-unknown-rtems/solarcat/fs
results in something like:
#ifndef
__/home/dufault/work/scratch/V10_1_0/powerpc_unknown_rtems/solarcat/fs_h
#define
__/home/dufault/work/scratch/V10_1_0/powerpc_unknown_rtems/solarcat/fs_h
With the attached patch it yields:
#ifndef
___home_dufault_work_scratch_V10_1_0_powerpc_unknown_rtems_solarcat_fs_h
#define
___home_dufault_work_scratch_V10_1_0_powerpc_unknown_rtems_solarcat_fs_h
It also adds "generated by rtems-bin2c" in the comment.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list