openwrt/target/linux/x86
Alexandru Ardelean 81a2f9d6f8 target/linux/x86/image: add explicit prefix to grub-mkimage command
In the latest version of grub-mkimage, the prefix option is mandatory.
Not supplying it fails with:
```
Prefix not specified (use the -p option).
```

In grub-2.02-beta2 a DEFAULT_DIRECTORY was defined
in `include/grub/osdep/hostfile_unix.h` as:
```
 #if defined (__NetBSD__)
 /* NetBSD uses /boot for its boot block.  */
 # define DEFAULT_DIRECTORY  "/"GRUB_DIR_NAME
 #else
 # define DEFAULT_DIRECTORY  "/"GRUB_BOOT_DIR_NAME"/"GRUB_DIR_NAME
 #endif
```

Where:
* GRUB_BOOT_DIR_NAME == boot
* GRUB_DIR_NAME == grub

This was used if the -p option was omitted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-12-20 16:24:21 +01:00
..
64 x86: add PATA support to generic and 64 subtargets 2016-11-16 01:48:19 +01:00
base-files x86: use sysfs DMI information to populate sysinfo 2016-06-06 15:18:11 +02:00
generic x86-generic: add MMC support to boot off SD cards 2016-11-16 01:48:19 +01:00
geode x86: enable DMI and DMI_SYSFS 2016-06-06 15:18:03 +02:00
image target/linux/x86/image: add explicit prefix to grub-mkimage command 2016-12-20 16:24:21 +01:00
legacy x86: enable CPU frequency scaling 2016-08-03 15:30:13 +02:00
patches-4.4 x86: remove rdc specific kernel patch 2016-05-12 17:42:55 +02:00
xen_domu x86/xen_domu: enable xen drivers in the kernel config instead of packaging them as modules 2016-05-12 17:35:46 +02:00
config-4.4 x86: disable MTD support 2016-09-10 12:17:39 +02:00
Makefile use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00