| Anonymous | Login | Signup for a new account | 11-10-2008 10:46 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000296 | [buildroot] Other | minor | always | 06-09-05 07:55 | 02-12-07 05:50 | ||||
| Reporter | silacci | View Status | public | ||||||
| Assigned To | buildroot | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 0.9.27 | ||||||
| Summary | 0000296: Minor issue in kernel-headers.mk when making ".unpacked" target | ||||||||
| Description |
If you update the kernel headers tarball and run make against an already built buildroot, the header files will be re-extracted, but they will not be put in exactly the right place if the name of the extracted directory includes the kernel version numbers. For example, linux-libc-headers-2.4.25.tar.bz2 will be extracted to $(TOOLCHAIN_BUILD_DIR)/linux-libc-headers-2.4.25, and then the mv command will move the newly extracted headers into the already existing $(TOOLCHAIN_BUILD_DIR)/linux directory, instead of replacing that directory as desired. The fix is to first remove the $(TOOLCHAIN_BUILD_DIR)/linux directory and then do the mv command. *** kernel-headers.mk.old 2005-06-09 09:47:06.000000000 -0500 --- kernel-headers.mk 2005-06-09 09:54:55.000000000 -0500 *************** *** 81,86 **** --- 81,87 ---- mkdir -p $(TOOL_BUILD_DIR) bzcat $(DL_DIR)/$(LINUX_HEADERS_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - ifneq ($(LINUX_HEADERS_UNPACK_DIR),$(LINUX_HEADERS_DIR)) + rm -rf $(LINUX_HEADERS_DIR) mv $(LINUX_HEADERS_UNPACK_DIR) $(LINUX_HEADERS_DIR) endif touch $(LINUX_HEADERS_DIR)/.unpacked ifneq ($(LINUX_HEADERS_UNPACK_DIR),$(LINUX_HEADERS_DIR)) + rm -rf $(LINUX_HEADERS_DIR) mv $(LINUX_HEADERS_UNPACK_DIR) $(LINUX_HEADERS_DIR) endif touch $(LINUX_HEADERS_DIR)/.unpacked |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| There are no notes attached to this issue. |
| Copyright © 2000 - 2006 Mantis Group |