Blackfin arch: Clean oprofile build path for blackfin
[linux-2.6.git] / arch / blackfin / Makefile
index 558241e5ccc34c610c2f04bfb65b7de812f6026c..e550c8d460669ed2c96e0b97ec4c13ee2edb2f81 100644 (file)
@@ -107,10 +107,10 @@ else
 core-y += arch/$(ARCH)/kernel/cplb-nompu/
 endif
 
-libs-y   += arch/$(ARCH)/lib/
-
 drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/
 
+libs-y   += arch/$(ARCH)/lib/
+
 machdirs       := $(patsubst %,arch/blackfin/mach-%/, $(machine-y))
 
 KBUILD_CFLAGS += -Iarch/$(ARCH)/include/