mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg: don't copy Makefile in package build directory
Instead use the '-f' option of the make command
This commit is contained in:
parent
d059715448
commit
9464c34467
@ -8,5 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
|
||||
.PHONY: all
|
||||
|
||||
all:
|
||||
@cp Makefile.$(PKG_NAME) $(PKG_BUILDDIR)/Makefile
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
@ -2,10 +2,8 @@ PKG_NAME=fatfs
|
||||
PKG_URL=https://github.com/RIOT-OS/FatFS
|
||||
PKG_VERSION=34f371c7735fc6fc8e714a74a7a73a61d3ed5633
|
||||
PKG_LICENSE=BSD-1-Clause
|
||||
MODULE_MAKEFILE := $(CURDIR)/Makefile.fatfs
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
all:
|
||||
@cp $(MODULE_MAKEFILE) $(PKG_BUILDDIR)/Makefile
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
@ -1,6 +1,5 @@
|
||||
INCLUDES += -I$(PKGDIRBASE)
|
||||
INCLUDES += -I$(RIOTPKG)/fatfs/fatfs_diskio/mtd/include
|
||||
DIRS += $(PKGDIRBASE)/fatfs
|
||||
|
||||
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/mtd
|
||||
|
||||
|
@ -7,4 +7,4 @@ include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
all:
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)/src \
|
||||
-f $(RIOTPKG)/libb2/Makefile.$(PKG_NAME)
|
||||
-f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
@ -5,6 +5,8 @@ PKG_LICENSE := MIT
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
all:
|
||||
$(Q)cp $(CURDIR)/Makefile.$(PKG_NAME) $(PKG_BUILDDIR)/$(PKG_NAME)/Makefile
|
||||
$(Q)cp $(CURDIR)/Makefile.$(PKG_NAME)-unittests $(PKG_BUILDDIR)/unittests/Makefile
|
||||
all: $(filter libfixmath-unittests,$(USEMODULE))
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)/$(PKG_NAME) -f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
||||
libfixmath-unittests:
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)/unittests -f $(CURDIR)/Makefile.$(PKG_NAME)-unittests
|
||||
|
@ -7,10 +7,8 @@ ifneq (,$(filter arch_8bit,$(FEATURES_USED)))
|
||||
CFLAGS += -DFIXMATH_OPTIMIZE_8BIT
|
||||
endif
|
||||
|
||||
DIRS += $(PKG_BUILDDIR)/libfixmath
|
||||
INCLUDES += -I$(PKG_BUILDDIR)/libfixmath
|
||||
|
||||
ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
||||
DIRS += $(PKG_BUILDDIR)/unittests
|
||||
INCLUDES += -I$(PKG_BUILDDIR)/unittests
|
||||
endif
|
||||
|
@ -7,5 +7,4 @@ PKG_LICENSE=MIT
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
all: Makefile.lua
|
||||
@cp Makefile.lua $(PKG_BUILDDIR)
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f Makefile.lua
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.lua
|
||||
|
@ -6,5 +6,4 @@ PKG_LICENSE=WTFPL
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
all:
|
||||
@cp Makefile.$(PKG_NAME) $(PKG_BUILDDIR)/Makefile
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
@ -5,6 +5,5 @@ PKG_LICENSE=BSD
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
all: Makefile.tlsf
|
||||
@cp Makefile.tlsf $(PKG_BUILDDIR)/Makefile
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)
|
||||
all:
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
@ -8,5 +8,4 @@ include $(RIOTBASE)/pkg/pkg.mk
|
||||
CFLAGS += -D_XOPEN_SOURCE=600
|
||||
|
||||
all:
|
||||
@cp Makefile.umorse $(PKG_BUILDDIR)/Makefile
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user