Add administration for linux,uclibc and main
This commit is contained in:
parent
f9106781dd
commit
b8f28d656b
4
Makefile
4
Makefile
@ -422,6 +422,10 @@ endif # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
|
||||
cp $(shell find ./target/ -name $@) .config
|
||||
-@$(MAKE) oldconfig
|
||||
|
||||
configured: dirs host-sed kernel-headers uclibc-configured busybox-config linux26-config
|
||||
|
||||
cross: $(BASE_TARGETS)
|
||||
|
||||
help:
|
||||
@echo 'Cleaning:'
|
||||
@echo ' clean - delete temporary files created by build'
|
||||
|
@ -168,6 +168,8 @@ ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
||||
$(LINUX26_DIR)/.config
|
||||
echo "CONFIG_INITRAMFS_ROOT_UID=0" >> $(LINUX26_DIR)/.config
|
||||
echo "CONFIG_INITRAMFS_ROOT_GID=0" >> $(LINUX26_DIR)/.config
|
||||
else
|
||||
echo "CONFIG_INITRAMFS_SOURCE=\"\"" >> $(LINUX26_DIR)/.config
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX_INITRAMFS),y)
|
||||
# precedence for a small initramfs
|
||||
@ -225,7 +227,7 @@ linux26-source: $(DL_DIR)/$(LINUX26_SOURCE)
|
||||
|
||||
linux26-unpacked: $(LINUX26_DIR)/.patched
|
||||
|
||||
linux26-config: $(LINUX26_DIR)/.configured
|
||||
linux26-config: host-sed $(LINUX26_DIR)/.configured
|
||||
|
||||
linux26-update:
|
||||
cp -dpf $(LINUX26_DIR)/.config $(LINUX26_KCONFIG)
|
||||
|
@ -108,8 +108,7 @@ else
|
||||
UCLIBC_LOCALE_DATA=
|
||||
endif
|
||||
|
||||
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
|
||||
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
|
||||
$(UCLIBC_DIR)/.unpacked: dirs kernel-headers host-sed $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
|
||||
mkdir -p $(TOOL_BUILD_DIR)
|
||||
rm -rf $(UCLIBC_DIR)
|
||||
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
||||
@ -442,14 +441,16 @@ uclibc: $(cross_compiler) $(STAGING_DIR)/usr/lib/libc.a $(UCLIBC_TARGETS)
|
||||
|
||||
uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE)
|
||||
|
||||
uclibc-config: host-sed $(UCLIBC_DIR)/.config
|
||||
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
|
||||
|
||||
uclibc-oldconfig: host-sed $(UCLIBC_DIR)/.oldconfig
|
||||
uclibc-config: $(UCLIBC_DIR)/.config
|
||||
|
||||
uclibc-update:
|
||||
uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
|
||||
|
||||
uclibc-update: uclibc-config
|
||||
cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
|
||||
|
||||
uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
|
||||
uclibc-configured: $(UCLIBC_DIR)/.configured
|
||||
|
||||
uclibc-configured-source: uclibc-source
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user