is it possible to share a source code file between two SOURCES file? the
orginal bsp offer a lib and i want to make a lite version, without affecting
others...

in source file, i have the following line
ARM_SOURCES=\
$(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s

build error.
BUILD: [00:0000000008:ERRORI] Bad directory prefix:
C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.

Re: include source code in another folder? by Anthony

Anthony
Mon Jun 27 07:15:06 CDT 2005

What about using a relative path (..\..)
This should work better
--
----------------------------------------------------------------
Anthony Pellerin
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------


"mobilevil" <mobilevil@mobile.com> wrote in message
news:ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
> is it possible to share a source code file between two SOURCES file? the
> orginal bsp offer a lib and i want to make a lite version, without
> affecting others...
>
> in source file, i have the following line
> ARM_SOURCES=\
> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>
> build error.
> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>



Re: include source code in another folder? by mobilevil

mobilevil
Mon Jun 27 07:21:49 CDT 2005

i tested both
..\..
and
..\\..
same.
and this error message is pointing to the right path right file already. : (
BUILD: [00:0000000008:ERRORI] Bad directory prefix:
C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.

"Anthony Pellerin" <apellerin_nospam@adeneo.adetelgroup.com> wrote in
message news:eCgZdHxeFHA.228@TK2MSFTNGP12.phx.gbl...
> What about using a relative path (..\..)
> This should work better
> --
> ----------------------------------------------------------------
> Anthony Pellerin
> ADENEO (ADESET)
> Windows Embedded Consultant
> <apellerin AT adeneo DOT adetelgroup DOT com>
> http://www.adeneo.adetelgroup.com
> Tél : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
>
>
> "mobilevil" <mobilevil@mobile.com> wrote in message
> news:ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
>> is it possible to share a source code file between two SOURCES file? the
>> orginal bsp offer a lib and i want to make a lite version, without
>> affecting others...
>>
>> in source file, i have the following line
>> ARM_SOURCES=\
>> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>>
>> build error.
>> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>
>
>



Re: include source code in another folder? by Bruce

Bruce
Mon Jun 27 09:18:39 CDT 2005

I believe that the problem is that ARM_SOURCES is expected to be in an ARM
folder. Use SOURCES instead.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"mobilevil" <mobilevil@mobile.com> wrote in message
news:u778RLxeFHA.1504@TK2MSFTNGP15.phx.gbl...
> i tested both
> ..\..
> and
> ..\\..
> same.
> and this error message is pointing to the right path right file already. :
(
> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>
> "Anthony Pellerin" <apellerin_nospam@adeneo.adetelgroup.com> wrote in
> message news:eCgZdHxeFHA.228@TK2MSFTNGP12.phx.gbl...
> > What about using a relative path (..\..)
> > This should work better
> > --
> > ----------------------------------------------------------------
> > Anthony Pellerin
> > ADENEO (ADESET)
> > Windows Embedded Consultant
> > <apellerin AT adeneo DOT adetelgroup DOT com>
> > http://www.adeneo.adetelgroup.com
> > Tél : +33 (0)4.72.18.57.77
> > Fax : +33 (0)4.72.18.57.78
> > ----------------------------------------------------------------
> >
> >
> > "mobilevil" <mobilevil@mobile.com> wrote in message
> > news:ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
> >> is it possible to share a source code file between two SOURCES file?
the
> >> orginal bsp offer a lib and i want to make a lite version, without
> >> affecting others...
> >>
> >> in source file, i have the following line
> >> ARM_SOURCES=\
> >> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
> >>
> >> build error.
> >> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
> >> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
> >>
> >
> >
>
>



Re: include source code in another folder? by mobilevil

mobilevil
Mon Jun 27 21:17:16 CDT 2005

ops using sources don't do any good too.
maybe it's a bug
"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:e5OTeMyeFHA.3808@TK2MSFTNGP14.phx.gbl...
>I believe that the problem is that ARM_SOURCES is expected to be in an ARM
> folder. Use SOURCES instead.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "mobilevil" <mobilevil@mobile.com> wrote in message
> news:u778RLxeFHA.1504@TK2MSFTNGP15.phx.gbl...
>> i tested both
>> ..\..
>> and
>> ..\\..
>> same.
>> and this error message is pointing to the right path right file already.
>> :
> (
>> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>
>> "Anthony Pellerin" <apellerin_nospam@adeneo.adetelgroup.com> wrote in
>> message news:eCgZdHxeFHA.228@TK2MSFTNGP12.phx.gbl...
>> > What about using a relative path (..\..)
>> > This should work better
>> > --
>> > ----------------------------------------------------------------
>> > Anthony Pellerin
>> > ADENEO (ADESET)
>> > Windows Embedded Consultant
>> > <apellerin AT adeneo DOT adetelgroup DOT com>
>> > http://www.adeneo.adetelgroup.com
>> > Tél : +33 (0)4.72.18.57.77
>> > Fax : +33 (0)4.72.18.57.78
>> > ----------------------------------------------------------------
>> >
>> >
>> > "mobilevil" <mobilevil@mobile.com> wrote in message
>> > news:ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
>> >> is it possible to share a source code file between two SOURCES file?
> the
>> >> orginal bsp offer a lib and i want to make a lite version, without
>> >> affecting others...
>> >>
>> >> in source file, i have the following line
>> >> ARM_SOURCES=\
>> >> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>> >>
>> >> build error.
>> >> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>> >> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>> >>
>> >
>> >
>>
>>
>
>



Re: include source code in another folder? by Yannick

Yannick
Tue Jun 28 02:26:50 CDT 2005

maybe you can generate an intermediate lib that just includes your source
code you want to share, and use this lib as a SOURCESLIBS for the differents
projects in which you want to use it

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"mobilevil" <mobilevil@mobile.com> a écrit dans le message de news:
ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
> is it possible to share a source code file between two SOURCES file? the
> orginal bsp offer a lib and i want to make a lite version, without
> affecting others...
>
> in source file, i have the following line
> ARM_SOURCES=\
> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>
> build error.
> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>



Re: include source code in another folder? by Voidcoder

Voidcoder
Tue Jun 28 23:28:58 CDT 2005

i've played with this for a while ago with no
result. seems it doesn't work this way.


"mobilevil" <mobilevil@mobile.com> wrote in message
news:%23fhqIe4eFHA.3616@TK2MSFTNGP09.phx.gbl...
> ops using sources don't do any good too.
> maybe it's a bug
> "Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote
> in message news:e5OTeMyeFHA.3808@TK2MSFTNGP14.phx.gbl...
>>I believe that the problem is that ARM_SOURCES is expected to be in an ARM
>> folder. Use SOURCES instead.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> beitman AT applieddata DOT net
>>
>> Applied Data Systems
>> www.applieddata.net
>> An ISO 9001:2000 Registered Company
>> Microsoft WEP Gold-level Member
>>
>>
>> "mobilevil" <mobilevil@mobile.com> wrote in message
>> news:u778RLxeFHA.1504@TK2MSFTNGP15.phx.gbl...
>>> i tested both
>>> ..\..
>>> and
>>> ..\\..
>>> same.
>>> and this error message is pointing to the right path right file already.
>>> :
>> (
>>> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>>> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>>
>>> "Anthony Pellerin" <apellerin_nospam@adeneo.adetelgroup.com> wrote in
>>> message news:eCgZdHxeFHA.228@TK2MSFTNGP12.phx.gbl...
>>> > What about using a relative path (..\..)
>>> > This should work better
>>> > --
>>> > ----------------------------------------------------------------
>>> > Anthony Pellerin
>>> > ADENEO (ADESET)
>>> > Windows Embedded Consultant
>>> > <apellerin AT adeneo DOT adetelgroup DOT com>
>>> > http://www.adeneo.adetelgroup.com
>>> > Tél : +33 (0)4.72.18.57.77
>>> > Fax : +33 (0)4.72.18.57.78
>>> > ----------------------------------------------------------------
>>> >
>>> >
>>> > "mobilevil" <mobilevil@mobile.com> wrote in message
>>> > news:ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
>>> >> is it possible to share a source code file between two SOURCES file?
>> the
>>> >> orginal bsp offer a lib and i want to make a lite version, without
>>> >> affecting others...
>>> >>
>>> >> in source file, i have the following line
>>> >> ARM_SOURCES=\
>>> >> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>>> >>
>>> >> build error.
>>> >> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>>> >> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>> >>
>>> >
>>> >
>>>
>>>
>>
>>
>
>



Re: include source code in another folder? by mobilevil

mobilevil
Tue Jun 28 05:02:17 CDT 2005

thanks for the import but i didn't want to mess with the others.

anyway i gave up on this as, the solution which msys provided to gen a 2K
bin without 4K jump in arm platform, is highly tricky. importing a function
in another s file is not working the same way as putting it in the same
file. seems they are taking advantage of some linker bug or so.
MEMORY

; Name Start Size Type
; ------- -------- -------- ----
MDOCIPL 00000000 00000800 RAMIMAGE
RAM 00004000 00000800 RAM


CONFIG
BOOTJUMP=NONE
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
SRE=ON
ROMFLAGS=0
ROMSTART=00001000 ;here is the image start address ,platform
builder will remove the 4KB image header automatically ,
ROMSIZE=800
ROMWIDTH=32

; The bootloader is fixed up to run from RAM, but is stored in flash.
ROMOFFSET
; adjusts the .bin file record headers to that they lie in flash (this
tells the
; bootloader already on the device to store the image in flash).

MODULES

; Name Path Memory
Type
; ------ ---------------------------------------------- -----------
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\MDOCIPL.exe
MDOCIPL



"Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> wrote in message
news:uNMrBL7eFHA.2728@TK2MSFTNGP10.phx.gbl...
> maybe you can generate an intermediate lib that just includes your source
> code you want to share, and use this lib as a SOURCESLIBS for the
> differents projects in which you want to use it
>
> --
> ----------------------------------------------------------------
> Yannick Chamming's (eMVP)
> ADENEO (ADESET)
> Windows Embedded Manager
> ychammings AT adeset DOT com>
> http://www.adeset.com
> Tél : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
>
> "mobilevil" <mobilevil@mobile.com> a écrit dans le message de news:
> ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
>> is it possible to share a source code file between two SOURCES file? the
>> orginal bsp offer a lib and i want to make a lite version, without
>> affecting others...
>>
>> in source file, i have the following line
>> ARM_SOURCES=\
>> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>>
>> build error.
>> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>
>
>



Re: include source code in another folder? by mobilevil

mobilevil
Tue Jun 28 05:14:00 CDT 2005

well i mean thanks for the INPUT.
man i am crazy with import.

"mobilevil" <mobilevil@mobile.com> wrote in message
news:OBJe5h8eFHA.3040@TK2MSFTNGP14.phx.gbl...
> thanks for the import but i didn't want to mess with the others.
>
> anyway i gave up on this as, the solution which msys provided to gen a 2K
> bin without 4K jump in arm platform, is highly tricky. importing a
> function in another s file is not working the same way as putting it in
> the same file. seems they are taking advantage of some linker bug or so.
> MEMORY
>
> ; Name Start Size Type
> ; ------- -------- -------- ----
> MDOCIPL 00000000 00000800 RAMIMAGE
> RAM 00004000 00000800 RAM
>
>
> CONFIG
> BOOTJUMP=NONE
> COMPRESSION=OFF
> PROFILE=OFF
> KERNELFIXUPS=ON
> SRE=ON
> ROMFLAGS=0
> ROMSTART=00001000 ;here is the image start address ,platform
> builder will remove the 4KB image header automatically ,
> ROMSIZE=800
> ROMWIDTH=32
>
> ; The bootloader is fixed up to run from RAM, but is stored in flash.
> ROMOFFSET
> ; adjusts the .bin file record headers to that they lie in flash (this
> tells the
> ; bootloader already on the device to store the image in flash).
>
> MODULES
>
> ; Name Path Memory
> Type
>
> - ---------------------------------------------- -----------
> nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\MDOCIPL.exe
> MDOCIPL
>
>
>
> "Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> wrote in
> message news:uNMrBL7eFHA.2728@TK2MSFTNGP10.phx.gbl...
>> maybe you can generate an intermediate lib that just includes your source
>> code you want to share, and use this lib as a SOURCESLIBS for the
>> differents projects in which you want to use it
>>
>> --
>> ----------------------------------------------------------------
>> Yannick Chamming's (eMVP)
>> ADENEO (ADESET)
>> Windows Embedded Manager
>> ychammings AT adeset DOT com>
>> http://www.adeset.com
>> Tél : +33 (0)4.72.18.57.77
>> Fax : +33 (0)4.72.18.57.78
>> ----------------------------------------------------------------
>>
>> "mobilevil" <mobilevil@mobile.com> a écrit dans le message de news:
>> ep2BLKweFHA.2124@TK2MSFTNGP14.phx.gbl...
>>> is it possible to share a source code file between two SOURCES file? the
>>> orginal bsp offer a lib and i want to make a lite version, without
>>> affecting others...
>>>
>>> in source file, i have the following line
>>> ARM_SOURCES=\
>>> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>>>
>>> build error.
>>> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>>> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>>
>>
>>
>
>



RE: include source code in another folder? by KenChristensen

KenChristensen
Tue Jun 28 06:27:02 CDT 2005

The only way I have been able to get this to work is to create a "container"
.c or .cpp file and in that file use #include to include the other source
file.
i.e.
#incude "\myPath\myFile.c"

Moify the sources file to build the container file.
You must use care to add the correct include paths to the other libs header
files.

Sources are macro based and only work in its current directory and subs.

"mobilevil" wrote:

> is it possible to share a source code file between two SOURCES file? the
> orginal bsp offer a lib and i want to make a lite version, without affecting
> others...
>
> in source file, i have the following line
> ARM_SOURCES=\
> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>
> build error.
> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>
>
>

Re: include source code in another folder? by mobilevil

mobilevil
Tue Jun 28 22:32:58 CDT 2005

oh no so ugly so dirty :D

"Ken Christensen" <KenChristensen@discussions.microsoft.com> wrote in
message news:0C0AE417-B8DF-435F-86FF-8E1C9073A14C@microsoft.com...
> The only way I have been able to get this to work is to create a
> "container"
> .c or .cpp file and in that file use #include to include the other source
> file.
> i.e.
> #incude "\myPath\myFile.c"
>
> Moify the sources file to build the container file.
> You must use care to add the correct include paths to the other libs
> header
> files.
>
> Sources are macro based and only work in its current directory and subs.
>
> "mobilevil" wrote:
>
>> is it possible to share a source code file between two SOURCES file? the
>> orginal bsp offer a lib and i want to make a lite version, without
>> affecting
>> others...
>>
>> in source file, i have the following line
>> ARM_SOURCES=\
>> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>>
>> build error.
>> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>>
>>
>>



Re: include source code in another folder? by Bruce

Bruce
Wed Jun 29 07:36:44 CDT 2005

Why is that ugly or dirty? You are looking for solutions that fit within
the tools that you are using.

Alternatively, many version control tools will allow you to share files
between folders, one file checked out to two locations.

Another time tested solution is to create a library and link it in both
places, but this only works if the files is to be compiled exactly the same
for both directories, which can sometimes be done by simply changing the
logic to runtime logic instead of compile time.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"mobilevil" <mobilevil@mobile.com> wrote in message
news:uDFzAtFfFHA.3936@TK2MSFTNGP14.phx.gbl...
> oh no so ugly so dirty :D
>
> "Ken Christensen" <KenChristensen@discussions.microsoft.com> wrote in
> message news:0C0AE417-B8DF-435F-86FF-8E1C9073A14C@microsoft.com...
> > The only way I have been able to get this to work is to create a
> > "container"
> > .c or .cpp file and in that file use #include to include the other
source
> > file.
> > i.e.
> > #incude "\myPath\myFile.c"
> >
> > Moify the sources file to build the container file.
> > You must use care to add the correct include paths to the other libs
> > header
> > files.
> >
> > Sources are macro based and only work in its current directory and subs.
> >
> > "mobilevil" wrote:
> >
> >> is it possible to share a source code file between two SOURCES file?
the
> >> orginal bsp offer a lib and i want to make a lite version, without
> >> affecting
> >> others...
> >>
> >> in source file, i have the following line
> >> ARM_SOURCES=\
> >> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
> >>
> >> build error.
> >> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
> >> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
> >>
> >>
> >>
>
>



Re: include source code in another folder? by Steve

Steve
Wed Jun 29 09:55:00 CDT 2005

You can use PB project files (.PBPXML) to build a lib, dll or exe. They can
be located anywhere on your system and referenced in an OS Design Workspace.


--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: include source code in another folder? by mobilevil

mobilevil
Sat Jul 02 03:26:21 CDT 2005

well the first time i ever see someone to include a C file inside another C
file, is someone who don't know what is linking. he refuse to do any
programming task and keep himself in system admin role only.
so if you really know what you are doing you are perfectly able to include a
C file but i just want to avoid this.
"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:uyDr2cKfFHA.576@TK2MSFTNGP15.phx.gbl...
> Why is that ugly or dirty? You are looking for solutions that fit within
> the tools that you are using.
>
> Alternatively, many version control tools will allow you to share files
> between folders, one file checked out to two locations.
>
> Another time tested solution is to create a library and link it in both
> places, but this only works if the files is to be compiled exactly the
> same
> for both directories, which can sometimes be done by simply changing the
> logic to runtime logic instead of compile time.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "mobilevil" <mobilevil@mobile.com> wrote in message
> news:uDFzAtFfFHA.3936@TK2MSFTNGP14.phx.gbl...
>> oh no so ugly so dirty :D
>>
>> "Ken Christensen" <KenChristensen@discussions.microsoft.com> wrote in
>> message news:0C0AE417-B8DF-435F-86FF-8E1C9073A14C@microsoft.com...
>> > The only way I have been able to get this to work is to create a
>> > "container"
>> > .c or .cpp file and in that file use #include to include the other
> source
>> > file.
>> > i.e.
>> > #incude "\myPath\myFile.c"
>> >
>> > Moify the sources file to build the container file.
>> > You must use care to add the correct include paths to the other libs
>> > header
>> > files.
>> >
>> > Sources are macro based and only work in its current directory and
>> > subs.
>> >
>> > "mobilevil" wrote:
>> >
>> >> is it possible to share a source code file between two SOURCES file?
> the
>> >> orginal bsp offer a lib and i want to make a lite version, without
>> >> affecting
>> >> others...
>> >>
>> >> in source file, i have the following line
>> >> ARM_SOURCES=\
>> >> $(_TARGETPLATROOT)\src\csp\xllp\source\xlli_lowlev_init.s
>> >>
>> >> build error.
>> >> BUILD: [00:0000000008:ERRORI] Bad directory prefix:
>> >> C:\WINCE500\platform\mybsp\src\csp\xllp\source\xlli_lowlev_init.s.
>> >>
>> >>
>> >>
>>
>>
>
>