Skip to contentSkip to conversation

5 of 5 IMA: Makefile

PATCH New Reiner Sailer 1 participant 1 message Jun 15, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 5 of 5 IMA: Makefile

This (last) patch related to IMA applies against linux-2.6.12-rc6-mm1 and provides a patch to the top-level kernel Makefile changing the compile order of the crypto and security directories. This patch ensures that the crypto API is initialized before IMA initializes. IMA needs crypto/SHA1 at initialization time.

---

Makefile +1 -1
diff -uprN linux-2.6.12-rc6-mm1_orig/Makefile linux-2.6.12-rc6-mm1-ima/Makefile
@@ -563,7 +563,7 @@ export MODLIB
 
 
 ifeq ($(KBUILD_EXTMOD),)
-core-y		+= kernel/ mm/ fs/ ipc/ security/ crypto/
+core-y		+= kernel/ mm/ fs/ ipc/ crypto/ security/
 
 vmlinux-dirs	:= $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
 		     $(core-y) $(core-m) $(drivers-y) $(drivers-m) \