Skip to contentSkip to conversation

compiling problems about mk/generic_leaf_target.inc

LTP Xiaoguang Wang 1 participant 2 messages Apr 21, 2014 – Apr 28, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

When we made modifications to source files in lib/, for example lib/tst_mkfs.c, then back to testcases/kernel/syscalls/access and execute command make. This will not make the access[0-5] to be re-compiled with the newly generated libltp.a, we need to touch access[0-5].c or remove access[0-5] files first, then make. I think this will make no sense. Users may expect just a make command to ensure a new access[0-5] is generated with new libltp.a.

This is because the rules "target : normal-prerequisites | order-only-prerequisites" in generic_leaf_target.inc. $(MAKE_TARGETS): | $(MAKE_DEPS)

Whether we should modify this to "$(MAKE_TARGETS): $(MAKE_DEPS)"? Thanks.

Regards,
Xiaoguang Wang

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi,

Any comments, thanks?

Regards,
Xiaoguang Wang

Quoted 17 lines · Xiaoguang Wang

Hi,

When we made modifications to source files in lib/, for example lib/tst_mkfs.c, then back to testcases/kernel/syscalls/access and execute command make. This will not make the access[0-5] to be re-compiled with the newly generated libltp.a, we need to touch access[0-5].c or remove access[0-5] files first, then make. I think this will make no sense. Users may expect just a make command to ensure a new access[0-5] is generated with new libltp.a.

This is because the rules "target : normal-prerequisites | order-only-prerequisites" in generic_leaf_target.inc. $(MAKE_TARGETS): | $(MAKE_DEPS)

Whether we should modify this to "$(MAKE_TARGETS): $(MAKE_DEPS)"? Thanks.

Regards,
Xiaoguang Wang

Quoted 11 lines

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list