diff --git a/init/Makefile b/init/Makefile index eac9b05d4ec4..95ebb28a5018 100644 --- a/init/Makefile +++ b/init/Makefile @@ -11,7 +11,7 @@ obj-$(CONFIG_BLK_DEV_INITRD) += initramfs.o obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o obj-$(CONFIG_UH) += _uh.o uh.o ld.o uh_fault_handler.o - +AFLAGS__uh.o := -I$(srctree) obj-$(CONFIG_RKP_CFP_JOPP) += rkp_cfp.o ifneq ($(CONFIG_ARCH_INIT_TASK),y) diff --git a/init/_uh.S b/init/_uh.S index 7ac2f02699b6..7831770e4511 100644 --- a/init/_uh.S +++ b/init/_uh.S @@ -16,9 +16,9 @@ #include #ifdef CONFIG_UH_RKP_8G -#define uh_ELF_PATH "init/uh.8g.elf" +#define uh_ELF_PATH "init/uh.8g.elf.h" #else -#define uh_ELF_PATH "init/uh.elf" +#define uh_ELF_PATH "init/uh.elf.h" #endif #define SMC_64BIT_RET_MAGIC 0xC2000401