From: Cyril H. <ch...@su...> - 2009-10-15 19:14:26
|
Hi! > This logic is covered in include/mk/testcases.mk as follows: > > include $(top_srcdir)/include/mk/env_pre.mk > > # For linux_syscall_numbers.h > CPPFLAGS += -I$(abs_top_builddir)/testcases/kernel/include > > INSTALL_DIR := testcases/bin > > LDLIBS += -lltp > > There's no reason why we have to go back to the hackish Makefile's > -- we can just include testcases.mk if it's not included already (I > admit, a smallhandful of testcases/... Makefile's didn't do this, but > I did this on need-to-have basis). I still would rather have one place to store all commonly used headers eg. $(topdir)/include. And stroring makefile "libraries" in $(topdir)/include/mk/ is IMHO not cleanest solution, may be it sould have it's onw directory in $(topdir). Anyway fixed patch attached. Signed-off-by: ch...@su... -- Cyril Hrubis ch...@su... |