mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/avrdude: remove the obsolete hook
Since its introduction in commit [1], avrdude has a post install target hook removing a backup configuration file. Commit [2] updated avrdude to version 7.1 and switch to the cmake infra. CMake recipe doesn't create a backup of the avrdude.conf. This commit removes this hook which is no longer needed. [1]dc776f0d05[2]f89f3787a0Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> [Julien: add extra info in commit log] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
9809795c71
commit
51cf8e5663
@@ -29,12 +29,4 @@ ifeq ($(BR2_PACKAGE_HIDAPI),y)
|
|||||||
AVRDUDE_DEPENDENCIES += hidapi
|
AVRDUDE_DEPENDENCIES += hidapi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# if /etc/avrdude.conf exists, the installation process creates a
|
|
||||||
# backup file, which we do not want in the context of Buildroot.
|
|
||||||
define AVRDUDE_REMOVE_BACKUP_FILE
|
|
||||||
$(RM) -f $(TARGET_DIR)/etc/avrdude.conf.bak
|
|
||||||
endef
|
|
||||||
|
|
||||||
AVRDUDE_POST_INSTALL_TARGET_HOOKS += AVRDUDE_REMOVE_BACKUP_FILE
|
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user