chore(nwipe): add arch dependencies

This commit is contained in:
desertwitch
2026-02-18 08:12:02 +01:00
parent 39d2a25c74
commit e6e4a2bab3
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_NWIPE
bool "nwipe"
depends on BR2_x86_64 || BR2_x86_i686
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_PARTED
select BR2_PACKAGE_COREUTILS

View File

@@ -19,10 +19,10 @@ endif
################################################################################
define NWIPE_CHECK_ARCH
@case "$(BR2_ARCH)" in \
@case "$(BR2_ARCH)" in \
i686|x86_64) ;; \
*) echo "Unsupported architecture: $(BR2_ARCH)"; exit 1 ;; \
esac
esac
endef
NWIPE_PRE_CONFIGURE_HOOKS += NWIPE_CHECK_ARCH