Skip to content

Commit

Permalink
fajita: Update for latest common extractors
Browse files Browse the repository at this point in the history
Change-Id: I4a8f81b2eb05dafc2b022daddb210eb3100e36f0
  • Loading branch information
vladimiroltean authored and luk1337 committed May 8, 2019
1 parent 9752141 commit f99d63b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions extract-files.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2018 The LineageOS Project
# Copyright (C) 2018-2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,12 +15,19 @@
# limitations under the License.
#

# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi

set -e

# Required!
export DEVICE=fajita
export DEVICE_COMMON=sdm845-common
export VENDOR=oneplus

export DEVICE_BRINGUP_YEAR=2018

./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
5 changes: 3 additions & 2 deletions setup-makefiles.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2018 The LineageOS Project
# Copyright (C) 2018-2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -17,10 +17,11 @@

set -e

# Required!
export DEVICE=fajita
export DEVICE_COMMON=sdm845-common
export VENDOR=oneplus

export DEVICE_BRINGUP_YEAR=2018

./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"

0 comments on commit f99d63b

Please sign in to comment.