Loading...
libkern/Makefile xnu-12377.101.15 xnu-517
--- xnu/xnu-12377.101.15/libkern/Makefile
+++ xnu/xnu-517/libkern/Makefile
@@ -3,22 +3,25 @@
 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
 
+
+export COMP_LDFLAGS_COMPONENT_PPC = -i_OSCompareAndSwap:_hw_compare_and_store
+
 include $(MakeInc_cmd)
 include $(MakeInc_def)
 
-INSTINC_SUBDIRS = \
-	libkern os firehose libcxx_support
-INSTINC_SUBDIRS_X86_64 = libkern
-INSTINC_SUBDIRS_X86_64H = libkern
-INSTINC_SUBDIRS_ARM64 = libkern
+INSTINC_SUBDIRS = libkern
+INSTINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS}
+INSTINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS}
 
-EXPINC_SUBDIRS = \
-	libkern os firehose
-EXPINC_SUBDIRS_X86_64 = libkern
-EXPINC_SUBDIRS_X86_64H = libkern
-EXPINC_SUBDIRS_ARM64 = libkern
+EXPINC_SUBDIRS = libkern
+EXPINC_SUBDIRS_PPC = ${EXPINC_SUBDIRS}
+EXPINC_SUBDIRS_I386 = ${EXPINC_SUBDIRS}
+
+SETUP_SUBDIRS = conf
 
 COMP_SUBDIRS = conf
 
+INST_SUBDIRS = kmod
+
 include $(MakeInc_rule)
 include $(MakeInc_dir)