diff options
author | Ying Wang <wangying@google.com> | 2013-04-05 17:13:53 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2013-04-05 18:15:06 -0700 |
commit | beeadda28642792e0c6e79fd842c891882ec9c9b (patch) | |
tree | c5a9ca44b6271f07441bcd254772095f7f4aacde | |
parent | 05436638acc7c010349a69c3395f1a57c642dc62 (diff) | |
download | bison-jb-mr2.0.0-release.tar.gz |
Don't set PKGDATADIR to an absolute pathandroid-4.3_r3.1android-4.3_r3android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.3.1_r1jb-mr2.0.0-releasejb-mr2.0-releasejb-mr2-releasejb-mr2-dev
For we are going to check in a prebuilt bison to the source tree,
it makes no sense to embed a full absolute path in the bison binary.
That means you can run the built bison only from the top of the source
tree.
To run it from somewhere else, you need to set up environmental variable
BISON_PKGDATADIR.
Bug: 8517572
Change-Id: Iaa81b30781a6a9162c775cdadaa759dad79a179d
-rw-r--r-- | Android.mk | 16 | ||||
-rw-r--r-- | MODULE_LICENSE_GPL | 0 |
2 files changed, 12 insertions, 4 deletions
@@ -1,11 +1,19 @@ -# # Copyright 2006 The Android Open Source Project # -# Android Asset Packaging Tool +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +LOCAL_PATH := $(call my-dir) -LOCAL_PATH:= $(call my-dir) ########################################### include $(CLEAR_VARS) @@ -131,7 +139,7 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/$(BUILD_OS)-lib \ $(LOCAL_PATH)/lib -LOCAL_CFLAGS := -DPKGDATADIR=\"$(PWD)/$(LOCAL_PATH)/data\" +LOCAL_CFLAGS := -DPKGDATADIR=\"$(LOCAL_PATH)/data\" LOCAL_STATIC_LIBRARIES := libbison diff --git a/MODULE_LICENSE_GPL b/MODULE_LICENSE_GPL new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/MODULE_LICENSE_GPL |