vpath broken in 2.5.41

John Levon (levon@movementarian.org)
Tue, 8 Oct 2002 00:28:52 +0100


I see vpath seems to have become broken in 2.5.41 build.

How now can I build the oprofile.o target from two directories ?

Namely,

arch/i386/oprofile/Makefile:

vpath %.c = . $(TOPDIR)/drivers/oprofile

obj-$(CONFIG_OPROFILE) += oprofile.o

DRIVER_OBJS = \
oprof.o cpu_buffer.o buffer_sync.o \
event_buffer.o oprofile_files.o \
oprofilefs.o oprofile_stats.o

oprofile-objs := $(DRIVER_OBJS) init.o timer_int.o

ifdef CONFIG_X86_LOCAL_APIC
oprofile-objs += nmi_int.o op_model_athlon.o op_model_ppro.o
endif

include $(TOPDIR)/Rules.make

with the DRIVER_OBJS sources in drivers/oprofile/

Since this was intentional, I assume I have to move my arch-dependent
parts back into drivers/ Kai ?

thanks
john

-- 
"I will eat a rubber tire to the music of The Flight of the Bumblebee"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/