|
@@ -82,7 +82,10 @@ GRUB_CONF_OPT = \
|
|
ifeq ($(BR2_TARGET_GRUB_SPLASH),y)
|
|
ifeq ($(BR2_TARGET_GRUB_SPLASH),y)
|
|
define GRUB_INSTALL_SPLASH
|
|
define GRUB_INSTALL_SPLASH
|
|
cp boot/grub/splash.xpm.gz $(TARGET_DIR)/boot/grub/
|
|
cp boot/grub/splash.xpm.gz $(TARGET_DIR)/boot/grub/
|
|
- $(SED) 's/^#splashimage/splashimage/' $(TARGET_DIR)/boot/grub/menu.lst
|
|
|
|
|
|
+endef
|
|
|
|
+else
|
|
|
|
+define GRUB_INSTALL_SPLASH
|
|
|
|
+ $(SED) '/^splashimage/d' $(TARGET_DIR)/boot/grub/menu.lst
|
|
endef
|
|
endef
|
|
endif
|
|
endif
|
|
|
|
|