PREFIX=$(TOOLCHAIN_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOLCHAIN_DIR)/uClibc_dev/ \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
HOSTCC="$(HOSTCC)" \
oldconfig
touch $@
PREFIX=$(TOOLCHAIN_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOLCHAIN_DIR)/uClibc_dev/ \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
HOSTCC="$(HOSTCC)" headers \
lib/crt1.o lib/crti.o lib/crtn.o \
install_headers
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
HOSTCC="$(HOSTCC)" \
all
touch -c $@
PREFIX=$(TOOLCHAIN_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOLCHAIN_DIR)/uClibc_dev/ \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
HOSTCC="$(HOSTCC)" \
menuconfig && \
touch -c $(UCLIBC_DIR)/.config
PREFIX=$(STAGING_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
install_runtime install_dev
# Install the kernel headers to the staging dir if necessary
if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ]; then \
PREFIX=$(TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
install_runtime
touch -c $@