Message ID | 1447247722-9930-1-git-send-email-ynezz@true.cz |
---|---|
State | Rejected |
Headers | show |
On 2015-11-11 14:15, Petr Štetiar wrote: > Signed-off-by: Petr Štetiar <ynezz@true.cz> > --- > target/linux/imx6/image/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile > index 9b9f948..d5bab30 100644 > --- a/target/linux/imx6/image/Makefile > +++ b/target/linux/imx6/image/Makefile > @@ -40,9 +40,9 @@ endef > > define Image/InstallKernel/Template > > - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL)$(CONFIG_TARGET_imx6_VENTANA),) > + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL)$(CONFIG_TARGET_imx6_$(PROFILE)),) No need for that. This crappy code is going to be replaced soon (patch has already been posted). - Felix
diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 9b9f948..d5bab30 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -40,9 +40,9 @@ endef define Image/InstallKernel/Template - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL)$(CONFIG_TARGET_imx6_VENTANA),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL)$(CONFIG_TARGET_imx6_$(PROFILE)),) $(INSTALL_DIR) $(TARGET_DIR)/boot - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE)$(CONFIG_TARGET_imx6_VENTANA),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE)$(CONFIG_TARGET_imx6_$(PROFILE)),) $(CP) $(BIN_DIR)/$(IMG_PREFIX)-uImage $(TARGET_DIR)/boot/ ln -sf $(IMG_PREFIX)-uImage $(TARGET_DIR)/boot/uImage endif @@ -57,7 +57,7 @@ define Image/InstallKernel/Template endif endif - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB)$(CONFIG_TARGET_imx6_VENTANA),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB)$(CONFIG_TARGET_imx6_$(PROFILE)),) $(INSTALL_DIR) $(TARGET_DIR)/boot $(foreach dts,$(shell echo $(1)), \ $(CP) $(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb $(TARGET_DIR)/boot/ ; \
Signed-off-by: Petr Štetiar <ynezz@true.cz> --- target/linux/imx6/image/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)