06-br-build-system-integration.patch 877 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---
  2. Makefile | 14 +++++++++++++-
  3. 1 file changed, 13 insertions(+), 1 deletion(-)
  4. Index: config/Makefile
  5. ===================================================================
  6. --- config.orig/Makefile
  7. +++ config/Makefile
  8. @@ -174,18 +174,30 @@
  9. ifeq ($(MAKECMDGOALS),nconfig)
  10. hostprogs-y += nconf
  11. endif
  12. +ifeq ($(findstring nconf,$(MAKECMDGOALS)),nconf)
  13. + hostprogs-y += nconf
  14. +endif
  15. ifeq ($(MAKECMDGOALS),menuconfig)
  16. hostprogs-y += mconf
  17. endif
  18. +ifeq ($(findstring mconf,$(MAKECMDGOALS)),mconf)
  19. + hostprogs-y += mconf
  20. +endif
  21. ifeq ($(MAKECMDGOALS),xconfig)
  22. qconf-target := 1
  23. endif
  24. +ifeq ($(findstring qconf,$(MAKECMDGOALS)),qconf)
  25. + qconf-target := 1
  26. +endif
  27. +
  28. ifeq ($(MAKECMDGOALS),gconfig)
  29. gconf-target := 1
  30. endif
  31. -
  32. +ifeq ($(findstring gconf,$(MAKECMDGOALS)),gconf)
  33. + gconf-target := 1
  34. +endif
  35. ifeq ($(qconf-target),1)
  36. qconf-cxxobjs := qconf.o