graphics/nxglib: Remove clean target from Makefile.*

since the same thing is already done by graphics/Makefile

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib4d16e52e954936b4ea2a3d5ee410ab73ee45561
This commit is contained in:
Xiang Xiao 2020-04-25 21:02:17 +08:00 committed by patacongo
parent bd4fcebb95
commit 9a7d5faec7
5 changed files with 6 additions and 22 deletions

View File

@ -146,9 +146,6 @@ clean_context:
context: gensources
clean:
$(Q) $(MAKE) -C nxglib -f Makefile.devblit clean TOPDIR=$(TOPDIR) EXTRAFLAGS="$(EXTRAFLAGS)"
$(Q) $(MAKE) -C nxglib -f Makefile.pwfb clean TOPDIR=$(TOPDIR) EXTRAFLAGS="$(EXTRAFLAGS)"
$(Q) $(MAKE) -C nxglib -f Makefile.cursor clean TOPDIR=$(TOPDIR) EXTRAFLAGS="$(EXTRAFLAGS)"
$(call DELFILE, $(BIN))
$(call CLEAN)

View File

@ -112,5 +112,4 @@ endif
DEPPATH += --dep-path nxglib
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)/graphics/nxglib}
#VPATH += :nxglib
VPATH = nxglib

View File

@ -72,7 +72,7 @@ GEN_CSRCS = $(DRAW_CSRC) $(ERASE_CSRC) $(BACKUP_CSRC)
BLITDIR = cursor
all: $(GEN_CSRCS)
.PHONY : clean distclean
.PHONY : distclean
$(DRAW_CSRC) : $(BLITDIR)/nxglib_cursor_draw.c nxglib_bitblit.h
ifneq ($(NXGLIB_BITSPERPIXEL),)
@ -95,11 +95,7 @@ ifneq ($(NXGLIB_BITSPERPIXEL),)
$(Q) rm -f $(BACKUP_TMP)
endif
clean:
$(call DELFILE, *.i)
$(call CLEAN)
distclean: clean
distclean:
$(call DELFILE, nxglib_cursor_draw_*bpp.c)
$(call DELFILE, nxglib_cursor_erase_*bpp.c)
$(call DELFILE, nxglib_cursor_backup_*bpp.c)

View File

@ -118,7 +118,7 @@ BLITDIR = fb
endif
all: $(GEN_CSRCS)
.PHONY : clean distclean
.PHONY : distclean
$(SETP_CSRC) : $(BLITDIR)/nxglib_setpixel.c nxglib_bitblit.h
ifneq ($(NXGLIB_BITSPERPIXEL),)
@ -162,11 +162,7 @@ ifneq ($(NXGLIB_BITSPERPIXEL),)
$(Q) rm -f $(RCOPY_TMP)
endif
clean:
$(call DELFILE, *.i)
$(call CLEAN)
distclean: clean
distclean:
$(call DELFILE, nxglib_setpixel_*bpp.c)
$(call DELFILE, nxglib_fillrectangle_*bpp.c)
$(call DELFILE, nxglib_getrectangle_*bpp.c)

View File

@ -114,7 +114,7 @@ GEN_CSRCS = $(SETP_CSRC) $(RFILL_CSRC) $(RGET_CSRC) $(TFILL_CSRC) $(RMOVE_CSRC)
BLITDIR = pwfb
all: $(GEN_CSRCS)
.PHONY : clean distclean
.PHONY : distclean
$(SETP_CSRC) : $(BLITDIR)/pwfb_setpixel.c nxglib_bitblit.h
ifneq ($(NXGLIB_BITSPERPIXEL),)
@ -158,11 +158,7 @@ ifneq ($(NXGLIB_BITSPERPIXEL),)
$(Q) rm -f $(RCOPY_TMP)
endif
clean:
$(call DELFILE, *.i)
$(call CLEAN)
distclean: clean
distclean:
$(call DELFILE, pwfb_setpixel_*bpp.c)
$(call DELFILE, pwfb_fillrectangle_*bpp.c)
$(call DELFILE, pwfb_getrectangle_*bpp.c)