Skip to contentSkip to conversation

cpuset: fix a lost compile target in Makefile

PATCH In review Shi Weihua 2 participants 2 messages Jan 5, 2010 – Jan 6, 2010

lore
Share & tools
lore

Shi Weihua

author
#0 lore raw

PATCH 1/1 cpuset: fix a lost compile target in Makefile

In latest ltp version, the following message occured when run the case of cpuset.
-----
./cpuset_hotplug_test.sh: line 39: ./cpuset_list_compute: No such file or directory ./cpuset_hotplug_test.sh: line 227: ./cpuset_list_compute: No such file or directory
-----

The reason is that cpuset_list_compute.c(in testcases/kernel/controllers/cpuset/ cpuset_hotplug_test/) has not been compiled.
This patch fix it.

---

testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile +1 -1
@@ -25,6 +25,6 @@ top_srcdir              ?= ../../../../.
 include $(top_srcdir)/include/mk/testcases.mk
 include $(abs_srcdir)/../Makefile.inc
 
-MAKE_TARGETS		:=
+LDLIBS		+= -lpthread
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 21 lines · Shi Weihua

In latest ltp version, the following message occured when run the case of cpuset.
-----
./cpuset_hotplug_test.sh: line 39: ./cpuset_list_compute: No such file or directory ./cpuset_hotplug_test.sh: line 227: ./cpuset_list_compute: No such file or directory
-----

The reason is that cpuset_list_compute.c(in testcases/kernel/controllers/cpuset/ cpuset_hotplug_test/) has not been compiled.
This patch fix it.

---

testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile  2010-01-05 10:53:55.000000000 -0500 renamed from testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile     2009-12-09 02:48:49.000000000 -0500 +0 -0
@@ -25,6 +25,6 @@ top_srcdir              ?= ../../../../.

 include $(top_srcdir)/include/mk/testcases.mk
 include $(abs_srcdir)/../Makefile.inc

testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile  2010-01-05 10:53:55.000000000 -0500 renamed from testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile     2009-12-09 02:48:49.000000000 -0500 +1 -1
-MAKE_TARGETS           :=
+LDLIBS         += -lpthread
Quoted 1 line

 include $(top_srcdir)/include/mk/generic_leaf_target.mk

Committed -- thanks!
-Garrett

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list