blob: d7ac0440e3006526e92428a4053df3a68676c9aa [file] [log] [blame]
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +00001# Copyright (C) 2018 Makefile
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at:
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Jason Huangc6362792020-03-04 16:33:19 +080015COMMIT_ID = 72b95a7
Thiyagarajan Subramanie84935d2020-04-23 17:45:44 +053016INBAND = "n"
Thiyagarajan Subramani3e8bfd92021-04-26 15:07:14 +053017BOARD = ""
Thiyagarajan Subramani89fffc02019-05-13 21:33:20 +000018
19onl-4.14:
Thiyagarajan Subramanie84935d2020-04-23 17:45:44 +053020 if [ $(INBAND) = y ]; then \
21 cd OpenNetworkLinux && git checkout -B $@ $(COMMIT_ID) && git apply inband-$(COMMIT_ID).patch && docker/tools/onlbuilder --non-interactive -8 -c ./build-onl.sh; \
22 else \
23 cd OpenNetworkLinux && git stash && git checkout -B $@ $(COMMIT_ID) && docker/tools/onlbuilder --non-interactive -8 -c ./build-onl.sh; \
24 fi;
Thiyagarajan Subramani3e8bfd92021-04-26 15:07:14 +053025onl-4.19:
Thiyagarajan Subramania2c2c5a2021-05-18 14:47:52 +053026 if [ "$(BOARD)" = "rlt-3200g-w" ]; then \
Thiyagarajan Subramani3e8bfd92021-04-26 15:07:14 +053027 cd OpenNetworkLinux && git stash && git checkout -B $@ $(COMMIT_ID) && bash update_kernel_options.sh && docker/tools/onlbuilder --non-interactive -9 -c ./build-onl.sh; \
28 else \
29 cd OpenNetworkLinux && git stash && git checkout -B $@ $(COMMIT_ID) && docker/tools/onlbuilder --non-interactive -9 -c ./build-onl.sh; \
30 fi;