[panda-users] Export Plugin file

Simone Mazzoni simone.mazzoni13 at gmail.com
Tue Feb 3 09:55:41 EST 2015


Ok, I will try.

Thanks a lot for the help!!

- Simone

Il giorno mar 3 feb 2015 15:51 Manolis Stamatogiannakis <mstamat at gmail.com>
ha scritto:

> top of the makefile:
> COPY_FILES = $(DEST_DIR)/file1 $(DEST_DIR)/file2
>
> rules to be added:
> $(DEST_DIR)/file1: file1
>     cp -f $< $@
>
> $(DEST_DIR)/file2: file2
>     cp -f $< $@
>
> rules to be modified:
> all: ....... $(COPY_FILES)
>
>
>
> 2015-02-03 15:36 GMT+01:00 Simone Mazzoni <simone.mazzoni13 at gmail.com>:
>
>> Maybe I missed that part. Can you please write me an example of how I
>> have to edit my makefile?
>>
>> Thanks
>>
>> - Simone
>>
>> Il giorno mar 3 feb 2015 15:28 Manolis Stamatogiannakis <
>> mstamat at gmail.com> ha scritto:
>>
>> Did you add the file as a dependency of the "all" target so that the rule
>>> is triggered?
>>>
>>> 2015-02-03 15:25 GMT+01:00 Simone Mazzoni <simone.mazzoni13 at gmail.com>:
>>>
>>>> It is exactly what I need. I tried to insert something similar but it
>>>> does not work. Maybe  I used the wrong syntax?
>>>>
>>>> - Simone
>>>>
>>>> Il giorno mar 3 feb 2015 15:17 Manolis Stamatogiannakis <
>>>> mstamat at gmail.com> ha scritto:
>>>>
>>>> I may be missing something, but what's preventing you from adding a new
>>>>> rule in your plugin Makefile that copies the file in the right location?
>>>>>
>>>>> Cheers,
>>>>> Manolis
>>>>>
>>>>>
>>>>> 2015-02-03 12:41 GMT+01:00 Simone Mazzoni <simone.mazzoni13 at gmail.com>
>>>>> :
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I have a question regarding the structure of the make file of the
>>>>>> plugins.
>>>>>> I noticed that in the make file of a panda plugin it is possible to
>>>>>> specify the structure of the compiled source that will be placed in the
>>>>>> panda_plugins folder of the emulator ("qemu_system_x86_64" in my case).
>>>>>>
>>>>>> There is a way to copy a .txt file contained in the folder of my
>>>>>> plugin to the panda_plugins folder of the emulator?
>>>>>> I need it because my plugin needs to read that file.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> - Simone
>>>>>>
>>>>>> _______________________________________________
>>>>>> panda-users mailing list
>>>>>> panda-users at mit.edu
>>>>>> http://mailman.mit.edu/mailman/listinfo/panda-users
>>>>>>
>>>>>>
>>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/panda-users/attachments/20150203/5891f71a/attachment-0001.htm


More information about the panda-users mailing list