]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/lib/Makefile
kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC
[karo-tx-uboot.git] / arch / powerpc / lib / Makefile
index e6d8be51cae831a60367cc233299e1fd98ef0811..0f6298269a7764181286b789947ddc7827c85b56 100644 (file)
@@ -7,11 +7,7 @@
 
 ## Build a couple of necessary functions into a private libgcc
 ## if the user asked for it
-ifdef USE_PRIVATE_LIBGCC
-lib-y  += _ashldi3.o
-lib-y  += _ashrdi3.o
-lib-y  += _lshrdi3.o
-endif
+lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
 
 MINIMAL=