gbuild: add ure-link to instdir
Change-Id: I1279ea7cdd9828598179154815a85e2a4ce7e567
This commit is contained in:
@@ -11,6 +11,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,instsetoo_native/setup))
|
|||||||
|
|
||||||
$(eval $(call gb_CustomTarget_register_targets,instsetoo_native/setup,\
|
$(eval $(call gb_CustomTarget_register_targets,instsetoo_native/setup,\
|
||||||
ooenv \
|
ooenv \
|
||||||
|
ure-link \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ooenv :
|
$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ooenv :
|
||||||
@@ -29,4 +30,11 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ooenv :
|
|||||||
echo 'export OOO_DISABLE_RECOVERY=1' \
|
echo 'export OOO_DISABLE_RECOVERY=1' \
|
||||||
) > $@
|
) > $@
|
||||||
|
|
||||||
|
$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ure-link :
|
||||||
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),LN ,1)
|
||||||
|
rm -f $@ && \
|
||||||
|
mkdir -p $(dir $@)/ure && \
|
||||||
|
cd $(dir $@) && \
|
||||||
|
ln -s ure ure-link
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
@@ -12,5 +12,6 @@ $(eval $(call gb_Package_Package,instsetoo_native_setup,$(call gb_CustomTarget_g
|
|||||||
$(eval $(call gb_Package_set_outdir,instsetoo_native_setup,$(INSTDIR)))
|
$(eval $(call gb_Package_set_outdir,instsetoo_native_setup,$(INSTDIR)))
|
||||||
|
|
||||||
$(eval $(call gb_Package_add_file,instsetoo_native_setup,program/ooenv,ooenv))
|
$(eval $(call gb_Package_add_file,instsetoo_native_setup,program/ooenv,ooenv))
|
||||||
|
$(eval $(call gb_Package_add_file,instsetoo_native_setup,ure-link,ure-link))
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
Reference in New Issue
Block a user