|
|
@ -8,6 +8,7 @@
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
TMP_DIR:=$(TOPDIR)/tmp
|
|
|
|
TMP_DIR:=$(TOPDIR)/tmp
|
|
|
|
include $(INCLUDE_DIR)/prereq.mk
|
|
|
|
include $(INCLUDE_DIR)/prereq.mk
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host.mk
|
|
|
|
|
|
|
|
|
|
|
|
define Require/non-root
|
|
|
|
define Require/non-root
|
|
|
|
[ "$$(shell whoami)" != "root" ]
|
|
|
|
[ "$$(shell whoami)" != "root" ]
|
|
|
@ -94,3 +95,11 @@ $(eval $(call RequireCommand,patch, \
|
|
|
|
$(eval $(call RequireCommand,perl, \
|
|
|
|
$(eval $(call RequireCommand,perl, \
|
|
|
|
Please install perl. \
|
|
|
|
Please install perl. \
|
|
|
|
))
|
|
|
|
))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Require/gnutar
|
|
|
|
|
|
|
|
$(TAR) --version 2>&1 | grep GNU > /dev/null
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call Require,gnutar, \
|
|
|
|
|
|
|
|
Please install GNU tar. \
|
|
|
|
|
|
|
|
))
|
|
|
|