diff mbox series

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

Message ID 20200420174634.52301-1-tomek_n@o2.pl
State Accepted
Delegated to: Daniel Golle
Headers show
Series [OpenWrt-Devel,1/4] x86: image: drop dead code | expand

Commit Message

Tomasz Maciej Nowak April 20, 2020, 5:46 p.m. UTC
These are remnants of old image generation code, which now serve no
purpose.

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

Patch

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