diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-01-27 16:32:41 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-27 16:53:31 +0100 |
commit | 475da81ec01701d1443ad65152bee63bae981fdd (patch) | |
tree | 89cc9d46b4f778dffa8b7157b45026c7a1d2ce4d /package | |
parent | e0579aecf8de03dd7e529fa14193557014554699 (diff) | |
download | mtk-20170518-475da81ec01701d1443ad65152bee63bae981fdd.zip mtk-20170518-475da81ec01701d1443ad65152bee63bae981fdd.tar.gz mtk-20170518-475da81ec01701d1443ad65152bee63bae981fdd.tar.bz2 |
ixp4xx: put apex images into image staging directory
Do not put the apex images into the kernel build directory as this directory
might get removed after kernel updates while the apex packages InstallDev
recipe is not getting re-executed because it is still considered current,
leading to image build failures later on due to missing images.
To ensure that built bootloader images persist over kernel version updates in
the buildroot, put them into the new STAGING_DIR_IMAGE directory.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package')
-rw-r--r-- | package/boot/apex/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/boot/apex/Makefile b/package/boot/apex/Makefile index fb3c77c..d90df8e 100644 --- a/package/boot/apex/Makefile +++ b/package/boot/apex/Makefile @@ -56,7 +56,8 @@ define Package/apex/install endef define Build/InstallDev - $(CP) $(PKG_BUILD_DIR)/out/*.bin $(KERNEL_BUILD_DIR) + $(INSTALL_DIR) $(STAGING_DIR_IMAGE) + $(CP) $(PKG_BUILD_DIR)/out/*.bin $(STAGING_DIR_IMAGE)/ endef $(eval $(call BuildPackage,apex)) |