mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
alsa-lib: use correct step override method
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -72,15 +72,16 @@ ALSA_LIB_CONF_ENV = CFLAGS="$(ALSA_LIB_CFLAGS)" \
|
|||||||
# the above doesn't work with shared config.cache
|
# the above doesn't work with shared config.cache
|
||||||
ALSA_LIB_USE_CONFIG_CACHE = NO
|
ALSA_LIB_USE_CONFIG_CACHE = NO
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package/multimedia,alsa-lib))
|
define ALSA_LIB_UNINSTALL_TARGET_CMDS
|
||||||
|
|
||||||
$(ALSA_LIB_TARGET_UNINSTALL):
|
|
||||||
-rm -f $(TARGET_DIR)/usr/lib/libasound.so*
|
-rm -f $(TARGET_DIR)/usr/lib/libasound.so*
|
||||||
-rm -rf $(TARGET_DIR)/usr/lib/alsa-lib
|
-rm -rf $(TARGET_DIR)/usr/lib/alsa-lib
|
||||||
-rm -rf $(TARGET_DIR)/usr/share/alsa
|
-rm -rf $(TARGET_DIR)/usr/share/alsa
|
||||||
|
endef
|
||||||
|
|
||||||
$(ALSA_LIB_TARGET_CLEAN):
|
define ALSA_LIB_UNINSTALL_STAGING_CMDS
|
||||||
-rm -f $(STAGING_DIR)/usr/lib/libasound.*
|
-rm -f $(STAGING_DIR)/usr/lib/libasound.*
|
||||||
-rm -rf $(STAGING_DIR)/usr/lib/alsa-lib
|
-rm -rf $(STAGING_DIR)/usr/lib/alsa-lib
|
||||||
-rm -rf $(STAGING_DIR)/usr/share/alsa
|
-rm -rf $(STAGING_DIR)/usr/share/alsa
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package/multimedia,alsa-lib))
|
||||||
|
|||||||
Reference in New Issue
Block a user