X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2FMakefile;h=9e6d3c29d73a15a7db63728928e234361d48977f;hb=cf77e988ddfc7f047ac1ddc72cadb5eee7e09293;hp=af759f39d4ae94ebf9ca2e45af126db3891c7aa2;hpb=3e1dd193edefd2a806a0ba6cf0879cf1a95217da;p=karo-tx-linux.git diff --git a/lib/Makefile b/lib/Makefile index af759f39d4ae..9e6d3c29d73a 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -39,7 +39,10 @@ lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o lib-$(CONFIG_GENERIC_FIND_FIRST_BIT) += find_next_bit.o lib-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o obj-$(CONFIG_GENERIC_FIND_LAST_BIT) += find_last_bit.o + +CFLAGS_hweight.o = $(subst $(quote),,$(CONFIG_ARCH_HWEIGHT_CFLAGS)) obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o + obj-$(CONFIG_LOCK_KERNEL) += kernel_lock.o obj-$(CONFIG_BTREE) += btree.o obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o