diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-02 11:11:56 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-02 17:13:35 +0200 |
commit | 48758993b09a96f83c2bd190a5586421c90428e7 (patch) | |
tree | 28e4554cb26cc1294d06d6241b255d9e20190deb /package/openjdk7 | |
parent | 8a2c6310e1e2764865ef684217130ed713d654e7 (diff) |
refactor CPU_ARCH/ARCH variables
After Joerg asked me about the difference between
ADK_TARGET_ARCH and ADK_TARGET_CPU_ARCH I recognized many duplication
of variables for this information.
These patch fixes this up. Use make cleandir && make menuconfig && make
Diffstat (limited to 'package/openjdk7')
-rw-r--r-- | package/openjdk7/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/openjdk7/Makefile b/package/openjdk7/Makefile index cd0fa2646..9147f5dbb 100644 --- a/package/openjdk7/Makefile +++ b/package/openjdk7/Makefile @@ -44,11 +44,11 @@ TARGET_CFLAGS:= $(subst march=pentium-m,march=i686,$(TARGET_CFLAGS)) TARGET_CFLAGS:= $(subst march=atom,march=i686,$(TARGET_CFLAGS)) BOOTSTRAPJDK:= ${STAGING_HOST_DIR}/bootstrap-jdk -JDKARCH:= $(CPU_ARCH) -ifeq ($(ARCH),x86) +JDKARCH:= $(ADK_TARGET_CPU_ARCH) +ifeq ($(ADK_TARGET_ARCH),x86) JDKARCH:= i386 endif -ifeq ($(CPU_ARCH),x86_64) +ifeq ($(ADK_TARGET_CPU_ARCH),x86_64) JDKARCH:= amd64 endif |