Skip to contentSkip to conversation

kbuild: remove package targets

PATCH Applied Masahiro Yamada 2 participants 2 messages Jun 17, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: remove package targets

This hunk is already out of sync from upstream Linux.

Barebox does not support package targets, so let's delete this rotten code.

---

 Makefile | 12 ------------
 1 file changed, 12 deletions(-)
Makefile +0 -12
index efb5fc9ee..da01ca5b0 100644
@@ -1123,18 +1123,6 @@ distclean: mrproper
 		-o -name 'core' \) \
 		-type f -print | xargs rm -f
 
-
-# Packaging of the kernel to various formats
-# ---------------------------------------------------------------------------
-# rpm target kept for backward compatibility
-package-dir	:= $(srctree)/scripts/package
-
-%pkg: include/config/kernel.release FORCE
-	$(Q)$(MAKE) $(build)=$(package-dir) $@
-rpm: include/config/kernel.release FORCE
-	$(Q)$(MAKE) $(build)=$(package-dir) $@
-
-
 # Brief documentation of the typical targets used
 # ---------------------------------------------------------------------------
 
Signature · 7 lines
2.25.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 10 lines · Masahiro Yamada

This hunk is already out of sync from upstream Linux.

Barebox does not support package targets, so let's delete this rotten code.

---

 Makefile | 12 ------------
 1 file changed, 12 deletions(-)

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox