[OpenWrt-Devel] [PATCH v2 1/4] x86: image: drop dead code

Tomasz Maciej Nowak tomek_n at o2.pl
Mon Apr 20 14:12:25 EDT 2020


These are remnants of old image generation code, which now serve no
purpose.

Signed-off-by: Tomasz Maciej Nowak <tomek_n at o2.pl>
---
 target/linux/x86/image/Makefile | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
index 77516a4a9d41..72a4d66ad731 100644
--- a/target/linux/x86/image/Makefile
+++ b/target/linux/x86/image/Makefile
@@ -13,12 +13,6 @@ GRUB_SERIAL_CONFIG =
 GRUB_TERMINAL_CONFIG =
 GRUB_CONSOLE_CMDLINE =
 
-ifneq ($(strip $(foreach subtarget,$(USE_ATKBD),$(CONFIG_TARGET_x86_$(subtarget)))),)
-  GRUB2_VARIANT := generic
-else
-  GRUB2_VARIANT := legacy
-endif
-
 ifneq ($(CONFIG_GRUB_CONSOLE),)
   GRUB_CONSOLE_CMDLINE += console=tty0
   GRUB_TERMINALS += console
@@ -152,8 +146,6 @@ define Device/Default
   ARTIFACTS := $$(ARTIFACTS-y)
 endef
 
-$(eval $(call Image/gzip-ext4-padded-squashfs))
-
 ifeq ($(SUBTARGET),64)
   include 64.mk
 endif
-- 
2.26.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list