display: clean up Makefile

No need to error twice

Change-Id: Idebd5879ae0e3438011fcd216637bc7a94aafa22
This commit is contained in:
Jake Weinstein 2020-08-09 06:30:07 +02:00
parent 7cf9b8e299
commit a30e2913ee
1 changed files with 0 additions and 2 deletions

View File

@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
$(error, $(TARGET_BOARD_PLATFORM))
# Error if TARGET_BOARD_PLATFORM is not set because otherwise the modules with the board in the name cannot be built.
ifeq ($(TARGET_BOARD_PLATFORM),)
$(error "TARGET_BOARD_PLATFORM is not defined yet. Please define in your device Makefile if you wish to use this component")