From 1b6242fc583a6b871304fb995af6dc211b58f69b Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:48:23 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- recipes-core/numad/numad-0.6/Makefile.patch | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 recipes-core/numad/numad-0.6/Makefile.patch (limited to 'recipes-core/numad/numad-0.6/Makefile.patch') diff --git a/recipes-core/numad/numad-0.6/Makefile.patch b/recipes-core/numad/numad-0.6/Makefile.patch new file mode 100644 index 0000000..f6a564d --- /dev/null +++ b/recipes-core/numad/numad-0.6/Makefile.patch @@ -0,0 +1,50 @@ +Add 'test-install' rule. +Allow 'prefix' variable to be overloaded. + +Signed-off-by: Radu Patriu +Upstream-Status: Pending + +Index: numad/Makefile +=================================================================== +--- numad.orig/Makefile 2014-05-13 00:17:16.094991993 +0300 ++++ numad/Makefile 2014-05-13 00:22:22.318986948 +0300 +@@ -22,21 +22,23 @@ + BENCH_CFLAGS += -ftree-vectorize + endif + +-CLEANFILES := numad.o numad .depend .depend.X empty.c empty.o ++CLEANFILES := numad.o numad .depend .depend.X empty.c empty.o test.o test + +-SOURCES := numad.c ++SOURCES := numad.c test.c + +-prefix := /usr ++prefix ?= /usr + docdir := ${prefix}/share/doc + + all: numad + + numad: numad.o -lpthread -lrt + ++test: test.o -lnuma ++ + AR ?= ar + RANLIB ?= ranlib + +-.PHONY: install all clean html depend ++.PHONY: install all clean html depend -lpthread -lrt -lnuma + + # BB_FIXME MANPAGES := numa.3 numactl.8 numastat.8 migratepages.8 migspeed.8 + +@@ -46,6 +48,11 @@ + install -m 0755 numad ${prefix}/bin + install -m 0644 numad.8 ${prefix}/share/man/man8 + ++TEST_DESTDIR ?= ${prefix}/lib/numad/ptest ++test-install: test ++ install -d ${TEST_DESTDIR} ++ install test ${TEST_DESTDIR} ++ + clean: + rm -f ${CLEANFILES} + @rm -rf html -- cgit v1.2.3-54-g00ecf