mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-06 18:07:43 +00:00
uClibc: fix uclibc-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before anything else. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
6c016c07e4
commit
9209091780
@ -395,6 +395,13 @@ $(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.oldconfig
|
|||||||
oldconfig
|
oldconfig
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
ifeq ($(BR2_CCACHE),y)
|
||||||
|
# we'll need ccache for the host built before make oldconfig
|
||||||
|
# if configured, otherwise uclibc-menuconfig will fail.
|
||||||
|
# Use order-only dependency as host-ccache is a virtual target
|
||||||
|
$(UCLIBC_DIR)/.config: | host-ccache
|
||||||
|
endif
|
||||||
|
|
||||||
$(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.config
|
$(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.config
|
||||||
$(MAKE1) -C $(UCLIBC_DIR) \
|
$(MAKE1) -C $(UCLIBC_DIR) \
|
||||||
ARCH="$(UCLIBC_TARGET_ARCH)" \
|
ARCH="$(UCLIBC_TARGET_ARCH)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user