display: clean up Makefile
No need to error twice Change-Id: Idebd5879ae0e3438011fcd216637bc7a94aafa22
This commit is contained in:
parent
7cf9b8e299
commit
a30e2913ee
|
@ -12,8 +12,6 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# 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.
|
# 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),)
|
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")
|
$(error "TARGET_BOARD_PLATFORM is not defined yet. Please define in your device Makefile if you wish to use this component")
|
||||||
|
|
Loading…
Reference in New Issue