[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/LIBLUA PATCH 5/5] Prevent make from deleting archive headers.
Hi Roxana, I sent out the wrong version, sorry about that, I've just now sent a v2 that fixes the problem. -- Felipe On 15.10.19, 17:05, "Minios-devel on behalf of Roxana Nicolescu" <minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of nicolescu.roxana1996@xxxxxxxxx> wrote: Hi Felipe, I tried to compile it and this error occurs: "No rule to make target ... lua.hpp". My guess is that because you deleted the rules for c++ headers, you should not append lua.hpp to UK_PREPARE. Let me know if I'm missing something. Roxana On 15.10.2019 16:26, Felipe Huici wrote: > Add a PRECIOUS target to make sure that make does not treat archive > headers as intermediate and ends up deleting them. > > Signed-off-by: Felipe Huici > --- > Makefile.uk | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > > diff --git a/Makefile.uk b/Makefile.uk > index 9251ff2..af26658 100644 > --- a/Makefile.uk > +++ b/Makefile.uk > @@ -1,4 +1,4 @@ > -################################################################################ > +7################################################################################ > # Library registration > ################################################################################ > $(eval $(call addlib_s,liblua,$(CONFIG_LIBLUA))) > @@ -93,6 +93,9 @@ LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/linit.c > ################################################################################ > # Libray API headers > ################################################################################ > +# Make sure that make does not treat the headers from the archive as intermediate > +.PRECIOUS: $(LIBLUA_SRCS_BASE)/%.h > + > $(LIBLUA_SRCS_BASE)/%.h: $(LIBLUA_BUILD)/.origin > @# empty recipe to enforce dependency to archive extraction > > @@ -100,13 +103,6 @@ $(LIBLUA_BUILD)/include/%.h: $(LIBLUA_SRCS_BASE)/%.h > $(call build_cmd,LN,liblua,$@,\ > ln -sf $< $@) > > -$(LIBLUA_SRCS_BASE)/%.hpp: $(LIBLUA_BUILD)/.origin > - @# empty recipe to enforce dependency to archive extraction > - > -$(LIBLUA_BUILD)/include/%.hpp: $(LIBLUA_SRCS_BASE)/%.hpp > - $(call build_cmd,LN,liblua,$@,\ > - ln -sf $< $@) > - > # TO_INC > UK_PREPARE += $(LIBLUA_BUILD)/include/lua.h > UK_PREPARE += $(LIBLUA_BUILD)/include/luaconf.h _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |