[RTEMS Project] #1755: rtems-bin2c not friendly for files in other directories
RTEMS trac
trac at rtems.org
Sun Nov 23 14:53:37 UTC 2014
#1755: rtems-bin2c not friendly for files in other directories
---------------------+----------------------------
Reporter: dufault | Owner: joel.sherrill
Type: defect | Status: assigned
Priority: normal | Milestone: 4.11
Component: tools | Version: HEAD
Severity: normal | Resolution:
Keywords: |
---------------------+----------------------------
Changes (by joel.sherrill):
* owner: ralf.corsepius => joel.sherrill
* status: new => assigned
Old description:
> 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.
New description:
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.
--
--
Ticket URL: <http://devel.rtems.org/ticket/1755#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list