x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
[linux/fpc-iii.git] / tools / testing / selftests / powerpc / switch_endian / Makefile
blob30b8ff8fb82e7a161759bf68363e69dcbcde2304
1 # SPDX-License-Identifier: GPL-2.0
2 TEST_GEN_PROGS := switch_endian_test
4 ASFLAGS += -O2 -Wall -g -nostdlib -m64
6 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S
8 include ../../lib.mk
10 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
12 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o
13 $(CROSS_COMPILE)objcopy -j .text --reverse-bytes=4 -O binary $< $@
15 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
16 hexdump -v -e '/1 ".byte 0x%02X\n"' $< > $@