Add hwcrypto app to userspace library build system

Switch to building nxp/app/hwcrypto with the trusted_app.mk system
instead of as a generic lk module. This allows the app to depend on
common userspace static libraries.

Test: build.py qemu-generic-arm64-test-debug
Bug: 169448829
Change-Id: I614e426767c57bafaba80d96b0b9008154f2d6bb
diff --git a/app/hwcrypto/rules.mk b/app/hwcrypto/rules.mk
index 2b52a41..e939f9e 100644
--- a/app/hwcrypto/rules.mk
+++ b/app/hwcrypto/rules.mk
@@ -37,10 +37,10 @@
 MODULE_INCLUDES := \
 	$(LOCAL_DIR)/../../platform/imx/soc/$(PLATFORM_SOC)/include
 
-MODULE_DEPS := \
+MODULE_LIBRARY_DEPS := \
 	trusty/user/base/lib/libc-trusty \
 	trusty/user/base/interface/hwrng \
 	trusty/user/base/interface/hwkey \
 	external/boringssl \
 
-include make/module.mk
+include make/trusted_app.mk