search for: if_changed

Displaying 20 results from an estimated 81 matches for "if_changed".

2003 Oct 04
0
klibc: kbuild improvements
...uild-targets) +__build: $(subdir-ym) $(always) @: # Compile C sources (.c) @@ -32,19 +32,19 @@ $(NOSTDINC_FLAGS) quiet_cmd_cc_s_c = USERCC $@ -cmd_cc_s_c = $(USERCC) $(usercflags) -S -o $@ $< + cmd_cc_s_c = $(USERCC) $(usercflags) -S -o $@ $< %.s: %.c FORCE $(call if_changed_dep,cc_s_c) quiet_cmd_cc_i_c = USERCPP $@ -cmd_cc_i_c = $(USERCPP) $(usercflags) -o $@ $< + cmd_cc_i_c = $(USERCPP) $(usercflags) -o $@ $< %.i: %.c FORCE $(call if_changed_dep,cc_i_c) quiet_cmd_cc_o_c = USERCC $@ -cmd_cc_o_c = $(USERCC) $(usercflags) -c -o $@...
2010 Nov 10
2
[PATCH] Avoid infinite loop during build with make 3.82
Remove FORCE from the list used by if_changed and friends. Otherwise the target will always be considered out of date when built with make 3.82.
2018 Jun 27
0
[PATCH] add more PHONY targets to $(PHONY)
...ites that caused the target to be considered out of date, even if they do not exist (previously only existing targets were provided in $?). Linux fixed this with commit 4f1933620f57 ("kbuild: change kbuild to not rely on incorrect GNU make behavior"). Similar to Linux, klibc if_changed already excludes $(PHONY) from $? when determining if a target is up-to-date. Klibc also has a $(PHONY) list of phony targets. But klibc does not add many .PHONY targets to $(PHONY). Changes in this patch: - add previously defined .PHONY targets to PHONY, so existing if_changed filtering appli...
2019 Jan 18
0
[klibc:master] add more PHONY targets to $(PHONY)
...ites that caused the target to be considered out of date, even if they do not exist (previously only existing targets were provided in $?). Linux fixed this with commit 4f1933620f57 ("kbuild: change kbuild to not rely on incorrect GNU make behavior"). Similar to Linux, klibc if_changed already excludes $(PHONY) from $? when determining if a target is up-to-date. Klibc also has a $(PHONY) list of phony targets. But klibc does not add many .PHONY targets to $(PHONY). Changes in this patch: - add previously defined .PHONY targets to PHONY, so existing if_changed filtering appli...
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others. Here are three patches that does the following: #1 - Update kbuild part of klibc so make clean works Adds gzip including a sample kbuild file #2 - Factor out definition of usr/ to two variables #3 - Move kbuild files to reflect location in the kernel As requested in earlier mail I need a bit of guidiance of what you expect from the kernel integrated parts of klibc.
2008 Feb 13
4
[PATCHv3 1/3] x86: use ELF format in compressed images.
...+sed-offsets := -e 's/^00*/0/' \ + -e 's/^\([0-9a-fA-F]*\) . \(input_data\|input_data_end\)$$/\#define \2 0x\1/p' + +quiet_cmd_offsets = OFFSETS $@ + cmd_offsets = $(NM) $< | sed -n $(sed-offsets) > $@ + +$(obj)/offsets.h: $(obj)/compressed/vmlinux FORCE + $(call if_changed,offsets) + +targets += offsets.h + +AFLAGS_header.o += -I$(obj) +$(obj)/header.o: $(obj)/offsets.h + LDFLAGS_setup.elf := -T $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE $(call if_changed,ld) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index d2b9f...
2008 Feb 13
4
[PATCHv3 1/3] x86: use ELF format in compressed images.
...+sed-offsets := -e 's/^00*/0/' \ + -e 's/^\([0-9a-fA-F]*\) . \(input_data\|input_data_end\)$$/\#define \2 0x\1/p' + +quiet_cmd_offsets = OFFSETS $@ + cmd_offsets = $(NM) $< | sed -n $(sed-offsets) > $@ + +$(obj)/offsets.h: $(obj)/compressed/vmlinux FORCE + $(call if_changed,offsets) + +targets += offsets.h + +AFLAGS_header.o += -I$(obj) +$(obj)/header.o: $(obj)/offsets.h + LDFLAGS_setup.elf := -T $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE $(call if_changed,ld) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index d2b9f...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...ctly -initramfs_data_cpio = $(quotefixed_initramfs_source) -targets += $(quotefixed_initramfs_source) - -else - -# INITRAMFS_SOURCE is not a cpio archive - create one -$(obj)/initramfs_data.cpio: $(obj)/gen_init_cpio \ - $(initramfs-y) $(obj)/initramfs_list FORCE - $(call if_changed,cpio) - -targets += initramfs_data.cpio -initramfs_data_cpio = $(obj)/initramfs_data.cpio - -endif - - -$(obj)/initramfs_data.cpio.gz: $(initramfs_data_cpio) FORCE - $(call if_changed,gzip) - -targets += initramfs_data.cpio.gz - diff --git a/kernel/Kbuild.include b/kernel/Kbuild.include deleted fil...
2008 Jan 31
0
[PATCH] x86: use ELF format in compressed images.
...+sed-offsets := -e 's/^00*/0/' \ + -e 's/^\([0-9a-fA-F]*\) . \(input_data\|input_data_end\)$$/\#define \2 0x\1/p' + +quiet_cmd_offsets = OFFSETS $@ + cmd_offsets = $(NM) $< | sed -n $(sed-offsets) > $@ + +$(obj)/offsets.h: $(obj)/compressed/vmlinux FORCE + $(call if_changed,offsets) + +targets += offsets.h + +AFLAGS_header.o += -I$(obj) +$(obj)/header.o: $(obj)/offsets.h + LDFLAGS_setup.elf := -T $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE $(call if_changed,ld) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index d2b9f...
2008 Jan 31
0
[PATCH] x86: use ELF format in compressed images.
...+sed-offsets := -e 's/^00*/0/' \ + -e 's/^\([0-9a-fA-F]*\) . \(input_data\|input_data_end\)$$/\#define \2 0x\1/p' + +quiet_cmd_offsets = OFFSETS $@ + cmd_offsets = $(NM) $< | sed -n $(sed-offsets) > $@ + +$(obj)/offsets.h: $(obj)/compressed/vmlinux FORCE + $(call if_changed,offsets) + +targets += offsets.h + +AFLAGS_header.o += -I$(obj) +$(obj)/header.o: $(obj)/offsets.h + LDFLAGS_setup.elf := -T $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE $(call if_changed,ld) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index d2b9f...
2019 Jan 25
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...2019 02:57:21 +0000 [klibc] dash: Change mktokens back to creating token.h itself This effectively reverts commit 984d40b0fc4c "[klibc] Make building dash O= friendly". Later upstream versions of mktokens create two files, so there will be no reasonable way to redirect its output. The if_changed macro assumes that the rebuild command does not change the current directory, which is why out-of-tree builds broke here prior to commit 984d40b0fc4c. Since we do need to change the current directory, do it in a subshell which won't affect the following commands generated by if_changed. Signe...
2010 Oct 04
0
No subject
...etcalls/Kbuild +++ b/usr/klibc/socketcalls/Kbuild @@ -48,3 +48,6 @@ $(obj)/socketcalls.mk: $(srctree)/$(KLIBCSRC)/socketcalls.pl \ $(obj)/SOCKETCALLS.i \ $(src)/socketcommon.h $(call cmd,socketcalls) + +# Used by if_changed and friends +PHONY += FORCE diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild index 4dbbc31..c94f65c 100644 --- a/usr/klibc/syscalls/Kbuild +++ b/usr/klibc/syscalls/Kbuild @@ -95,3 +95,6 @@ $(obj)/syscalls.mk: $(srctree)/$(KLIBCSRC)/syscalls.pl $(obj)/SYSCALLS.i \...
2008 Feb 06
0
[PATCHv2 1/3] x86: use ELF format in compressed images.
...+sed-offsets := -e 's/^00*/0/' \ + -e 's/^\([0-9a-fA-F]*\) . \(input_data\|input_data_end\)$$/\#define \2 0x\1/p' + +quiet_cmd_offsets = OFFSETS $@ + cmd_offsets = $(NM) $< | sed -n $(sed-offsets) > $@ + +$(obj)/offsets.h: $(obj)/compressed/vmlinux FORCE + $(call if_changed,offsets) + +targets += offsets.h + +AFLAGS_header.o += -I$(obj) +$(obj)/header.o: $(obj)/offsets.h + LDFLAGS_setup.elf := -T $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE $(call if_changed,ld) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index d2b9f...
2008 Feb 06
0
[PATCHv2 1/3] x86: use ELF format in compressed images.
...+sed-offsets := -e 's/^00*/0/' \ + -e 's/^\([0-9a-fA-F]*\) . \(input_data\|input_data_end\)$$/\#define \2 0x\1/p' + +quiet_cmd_offsets = OFFSETS $@ + cmd_offsets = $(NM) $< | sed -n $(sed-offsets) > $@ + +$(obj)/offsets.h: $(obj)/compressed/vmlinux FORCE + $(call if_changed,offsets) + +targets += offsets.h + +AFLAGS_header.o += -I$(obj) +$(obj)/header.o: $(obj)/offsets.h + LDFLAGS_setup.elf := -T $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE $(call if_changed,ld) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index d2b9f...
2020 Mar 28
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
...2020 20:30:01 +0000 [klibc] dash: Change mktokens back to creating token.h itself This effectively reverts commit 984d40b0fc4c "[klibc] Make building dash O= friendly". Later upstream versions of mktokens create two files, so there will be no reasonable way to redirect its output. The if_changed macro assumes that the rebuild command does not change the current directory, which is why out-of-tree builds broke here prior to commit 984d40b0fc4c. Since we do need to change the current directory, do it in a subshell which won't affect the following commands generated by if_changed. Signe...
2006 Apr 09
0
[PATCH] kbuild: fix usr/Kbuild to use new usr/gen_initramfs.sh
...ce) -targets += $(quotefixed_initramfs_source) - -else - -# INITRAMFS_SOURCE is not a cpio archive - create one +# Create cpio archive from filelist hostprogs-y := gen_init_cpio -$(obj)/initramfs_data.cpio: $(obj)/gen_init_cpio \ - $(obj)/initramfs_list FORCE - $(call if_changed,cpio) - -targets += initramfs_data.cpio -initramfs_data_cpio = $(obj)/initramfs_data.cpio - -endif +# Files included in cpio archive (cpio archive is updated if +# any included files are newer than the cpio archive) +initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs.sh +ramfs-input...
2007 Jun 20
9
[PATCH 0/9] x86 boot protocol updates
[ This patch depends on the cross-architecture ELF cleanup patch. ] This series updates the boot protocol to 2.07 and uses it to implement paravirtual booting. This allows the bootloader to tell the kernel what kind of hardware/pseudo-hardware environment it's coming up under, and the kernel can use the appropriate boot sequence code. Specifically: - Update the boot protocol to 2.07, which
2007 Jun 20
9
[PATCH 0/9] x86 boot protocol updates
[ This patch depends on the cross-architecture ELF cleanup patch. ] This series updates the boot protocol to 2.07 and uses it to implement paravirtual booting. This allows the bootloader to tell the kernel what kind of hardware/pseudo-hardware environment it's coming up under, and the kernel can use the appropriate boot sequence code. Specifically: - Update the boot protocol to 2.07, which
2007 Jun 06
7
[PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting
This series: 1. Updates the boot protocol to version 2.07 2. Clean up the existing build process, to get rid of tools/build and make the linker do more heavy lifting 3. Make the bzImage payload an ELF file. The bootloader can extract this as a naked ELF file by skipping over boot_params.setup_sects worth of 16-bit setup code. 4. Update the boot_params to 2.07, and update the
2007 Jun 06
7
[PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting
This series: 1. Updates the boot protocol to version 2.07 2. Clean up the existing build process, to get rid of tools/build and make the linker do more heavy lifting 3. Make the bzImage payload an ELF file. The bootloader can extract this as a naked ELF file by skipping over boot_params.setup_sects worth of 16-bit setup code. 4. Update the boot_params to 2.07, and update the