mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] install_copy not recognizing path to a file
@ 2014-09-23  7:11 Alan Martinovic
  2014-09-23  7:33 ` Juergen Borleis
  2014-10-03 13:38 ` Alan Martinovic
  0 siblings, 2 replies; 8+ messages in thread
From: Alan Martinovic @ 2014-09-23  7:11 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1661 bytes --]

Hi,

I'm adding a custom application into the build system and I'm having undefined issues with install_copy.
I have defined the rule as follows:

*$(MYLIB_SOURCE_LOCAL) is the path where the binaries are located. (oselas.project/build/mylib -1234)

$(STATEDIR)/mylib.targetinstall:
                @$(call targetinfo)
                @$(call install_init, mylib)
                @$(call install_fixup, mylib,PRIORITY,optional)
                @$(call install_fixup, mylib,SECTION,base)
                @$(call install_fixup, mylib,AUTHOR,"<>")
                @$(call install_fixup, mylib,DESCRIPTION,missing)

                @$(call install_copy, mylib, 0, 0, 0755, $(MYLIB_SOURCE_LOCAL)/mylib.a, /usr/lib/mylib.a)
                @$(call install_copy, mylib, 0, 0, 0755, $(MYLIB_SOURCE_LOCAL)/include/mylib.h, /usr/include/mylib.h)

                @$(call install_finish, mylib)
                @$(call touch)

When I run targetinstall I get the following error:
install file:
  src=oselas.project/build/mylib -1234
  dst=/usr/lib/libzxmlconfig.a
  owner=0
  group=0
  permissions=0755

install: omitting directory '/home/user/Workspace/oselas.project/build/mylib -1234

For some reason it doesn't append the /mylib.a to the path. Any ideas on this?

BR
Alan

DISCLAIMER:
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.

[-- Attachment #1.2: Type: text/html, Size: 5483 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-10-03 13:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23  7:11 [ptxdist] install_copy not recognizing path to a file Alan Martinovic
2014-09-23  7:33 ` Juergen Borleis
2014-09-23  8:20   ` Alan Martinovic
2014-09-23  8:54     ` Alan Martinovic
2014-09-23  9:57     ` Juergen Borleis
2014-09-23 10:04       ` Juergen Borleis
2014-09-23 12:34         ` Alan Martinovic
2014-10-03 13:38 ` Alan Martinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox