mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 05:32:11 +00:00
chore(nwipe): add arch dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user