0001-Remove-static-futility.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 59166c9aacda115ea2feb2e3f6a01c23f5e91fc2 Mon Sep 17 00:00:00 2001
  2. From: Kevin Mihelich <kevin@archlinuxarm.org>
  3. Date: Sun, 18 Mar 2018 14:46:01 -0600
  4. Subject: [PATCH] Remove static futility
  5. ---
  6. Makefile | 6 +++---
  7. 1 file changed, 3 insertions(+), 3 deletions(-)
  8. diff --git a/Makefile b/Makefile
  9. index 1f3e7f664..75168b146 100644
  10. --- a/Makefile
  11. +++ b/Makefile
  12. @@ -1112,7 +1112,7 @@ signing_install: ${SIGNING_SCRIPTS} ${SIGNING_SCRIPTS_DEV} ${SIGNING_COMMON}
  13. # new Firmware Utility
  14. .PHONY: futil
  15. -futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN}
  16. +futil: ${FUTIL_BIN}
  17. ${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS} -lpthread
  18. ${FUTIL_STATIC_BIN}: ${FUTIL_STATIC_OBJS} ${UTILLIB}
  19. @@ -1125,10 +1125,10 @@ ${FUTIL_BIN}: ${FUTIL_OBJS} ${UTILLIB} ${FWLIB20} ${UTILBDB}
  20. ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} $^ ${LDLIBS}
  21. .PHONY: futil_install
  22. -futil_install: ${FUTIL_BIN} ${FUTIL_STATIC_BIN}
  23. +futil_install: ${FUTIL_BIN}
  24. @${PRINTF} " INSTALL futility\n"
  25. ${Q}mkdir -p ${UB_DIR}
  26. - ${Q}${INSTALL} -t ${UB_DIR} ${FUTIL_BIN} ${FUTIL_STATIC_BIN}
  27. + ${Q}${INSTALL} -t ${UB_DIR} ${FUTIL_BIN}
  28. ${Q}for prog in ${FUTIL_SYMLINKS}; do \
  29. ln -sf futility "${UB_DIR}/$$prog"; done
  30. --
  31. 2.16.2