diff options
| -rw-r--r-- | meta/classes/uboot-extlinux-config.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/uboot-extlinux-config.bbclass b/meta/classes/uboot-extlinux-config.bbclass index 8447a047ee..61dff14b7c 100644 --- a/meta/classes/uboot-extlinux-config.bbclass +++ b/meta/classes/uboot-extlinux-config.bbclass | |||
| @@ -68,7 +68,7 @@ UBOOT_EXTLINUX_MENU_DESCRIPTION_linux ??= "${DISTRO_NAME}" | |||
| 68 | 68 | ||
| 69 | UBOOT_EXTLINUX_CONFIG = "${B}/extlinux.conf" | 69 | UBOOT_EXTLINUX_CONFIG = "${B}/extlinux.conf" |
| 70 | 70 | ||
| 71 | python create_extlinux_config() { | 71 | python do_create_extlinux_config() { |
| 72 | if d.getVar("UBOOT_EXTLINUX") != "1": | 72 | if d.getVar("UBOOT_EXTLINUX") != "1": |
| 73 | return | 73 | return |
| 74 | 74 | ||
| @@ -149,4 +149,4 @@ python create_extlinux_config() { | |||
| 149 | bb.fatal('Unable to open %s' % (cfile)) | 149 | bb.fatal('Unable to open %s' % (cfile)) |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | do_install[prefuncs] += "create_extlinux_config" | 152 | addtask create_extlinux_config before do_install do_deploy after do_compile |
