summaryrefslogtreecommitdiff
path: root/generate
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-05 10:08:51 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-05 10:08:51 +0200
commit0ba20f5f86d41bbe442eaeb426d13d25181fa512 (patch)
tree3f781093398527540129da9cffe134524af5723f /generate
parent96585030546b90d09457b49ec8219d8b05647b33 (diff)
downloadacpica-0ba20f5f86d41bbe442eaeb426d13d25181fa512.tar.gz
generate/unix/Makefile.common: remove HARDWARE_NAME
The HARDWARE_NAME variable is only used to display some messages saying whether a 32-bit or a 64-bit build was done, which is pretty useless. This commit gets rid of this variable entirely. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'generate')
-rw-r--r--generate/unix/Makefile.common34
1 files changed, 0 insertions, 34 deletions
diff --git a/generate/unix/Makefile.common b/generate/unix/Makefile.common
index cc6a101f1..743fd3c00 100644
--- a/generate/unix/Makefile.common
+++ b/generate/unix/Makefile.common
@@ -2,34 +2,11 @@
# Common make for acpica tools and utilities
#
-#
-# Get the OS machine architecture. Anything with a "64" in the returned
-# string will be treated as a 64-bit OS. Otherwise, the default is 32-bit.
-#
-ifeq ($(HOST), _FreeBSD)
-HARDWARE_NAME := $(shell uname -p)
-else
-ifeq ($(HOST), _QNX)
-HARDWARE_NAME := x86pc
-else
-HARDWARE_NAME := $(shell uname -m)
-endif
-endif
-
-#
-# Main rule will only generate versions that are appropriate for the running
-# OS, either 64-bit or 32-bit.
-#
all: $(PROGS)
$(PROGS): FORCE
@cd $(BUILD_DIRECTORY_PATH)/$@; \
mkdir -p obj; \
$(MAKE) || exit "$$?"; \
- if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \
- echo "64-bit version of $@:"; \
- else \
- echo "32-bit version of $@:"; \
- fi; \
ls -al ../bin/$@; \
echo "";
@@ -72,26 +49,15 @@ veryclean: FORCE
rmdir bin; \
fi;
-#
-# Install all tools, either 32-bit or 64-bit as appropriate for the host OS
-#
install: FORCE
@for toolname in $(PROGS); do \
(cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
pwd; \
$(MAKE) PROG=$$toolname install; \
- if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \
- echo "Installed 64-bit version of $$toolname"; \
- else \
- echo "Installed 32-bit version of $$toolname"; \
- fi; \
- echo ""; \
); \
done;
machine: FORCE
- @echo "Machine architecture: $(HARDWARE_NAME), $(XBITS)";
- @echo "Findstring: $(findstring 64, $(HARDWARE_NAME))";
FORCE: