Skip to content

Commit

Permalink
Fix symlink creation
Browse files Browse the repository at this point in the history
Change-Id: I0d0bcdde2957974eb357a6f3d820bd5ab0fa47ee
  • Loading branch information
Dees-Troy committed May 24, 2019
1 parent abf1fb0 commit ae7ff3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
5 changes: 0 additions & 5 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,6 @@ include $(CLEAR_VARS)
LOCAL_MODULE := busybox_symlinks
LOCAL_MODULE_TAGS := optional
LOCAL_ADDITIONAL_DEPENDENCIES := $(RECOVERY_BUSYBOX_SYMLINKS)
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
LOCAL_REQUIRED_MODULES := $(RECOVERY_BUSYBOX_SYMLINKS)
else
LOCAL_ADDITIONAL_DEPENDENCIES := $(RECOVERY_BUSYBOX_SYMLINKS)
endif
ifneq (,$(filter $(PLATFORM_SDK_VERSION),16 17 18))
ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_BUSYBOX_SYMLINKS)
endif
Expand Down
6 changes: 1 addition & 5 deletions toolbox/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,7 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE)
include $(CLEAR_VARS)
LOCAL_MODULE := toolbox_symlinks
LOCAL_MODULE_TAGS := optional
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
LOCAL_REQUIRED_MODULES := $(SYMLINKS)
else
LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
endif
LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
include $(BUILD_PHONY_PACKAGE)

ifneq (,$(filter $(PLATFORM_SDK_VERSION),16 17 18))
Expand Down
6 changes: 1 addition & 5 deletions toybox/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -585,11 +585,7 @@ $(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
include $(CLEAR_VARS)
LOCAL_MODULE := toybox_symlinks
LOCAL_MODULE_TAGS := optional
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
LOCAL_REQUIRED_MODULES := $(SYMLINKS)
else
LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
endif
LOCAL_ADDITIONAL_DEPENDENCIES := $(SYMLINKS)
include $(BUILD_PHONY_PACKAGE)

endif
Expand Down

0 comments on commit ae7ff3b

Please sign in to comment.