x86: image: drop dead code
authorTomasz Maciej Nowak <tomek_n@o2.pl>
Mon, 20 Apr 2020 17:46:31 +0000 (19:46 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 20 Apr 2020 17:55:30 +0000 (18:55 +0100)
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

index 77516a4a9d411b5aa4ac2ea8cea71c5c201ed6da..72a4d66ad7310520ba0422840efb2ac223fa8d73 100644 (file)
@@ -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