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