head	1.9;
access;
symbols
	netbsd-11-0-RC3:1.9
	netbsd-11-0-RC2:1.9
	netbsd-11-0-RC1:1.9
	perseant-exfatfs-base-20250801:1.9
	netbsd-11:1.9.0.68
	netbsd-11-base:1.9
	netbsd-10-1-RELEASE:1.9
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.66
	perseant-exfatfs-base:1.9
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.9
	netbsd-10-0-RELEASE:1.9
	netbsd-10-0-RC6:1.9
	netbsd-10-0-RC5:1.9
	netbsd-10-0-RC4:1.9
	netbsd-10-0-RC3:1.9
	netbsd-10-0-RC2:1.9
	thorpej-ifq:1.9.0.64
	thorpej-ifq-base:1.9
	thorpej-altq-separation:1.9.0.62
	thorpej-altq-separation-base:1.9
	netbsd-10-0-RC1:1.9
	netbsd-10:1.9.0.60
	netbsd-10-base:1.9
	bouyer-sunxi-drm:1.9.0.58
	bouyer-sunxi-drm-base:1.9
	netbsd-9-3-RELEASE:1.9
	thorpej-i2c-spi-conf2:1.9.0.56
	thorpej-i2c-spi-conf2-base:1.9
	thorpej-futex2:1.9.0.54
	thorpej-futex2-base:1.9
	thorpej-cfargs2:1.9.0.52
	thorpej-cfargs2-base:1.9
	cjep_sun2x-base1:1.9
	cjep_sun2x:1.9.0.50
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	netbsd-9-2-RELEASE:1.9
	cjep_staticlib_x:1.9.0.48
	cjep_staticlib_x-base:1.9
	thorpej-i2c-spi-conf:1.9.0.46
	thorpej-i2c-spi-conf-base:1.9
	thorpej-cfargs:1.9.0.44
	thorpej-cfargs-base:1.9
	thorpej-futex:1.9.0.42
	thorpej-futex-base:1.9
	netbsd-9-1-RELEASE:1.9
	bouyer-xenpvh-base2:1.9
	phil-wifi-20200421:1.9
	bouyer-xenpvh-base1:1.9
	phil-wifi-20200411:1.9
	bouyer-xenpvh:1.9.0.40
	bouyer-xenpvh-base:1.9
	is-mlppp:1.9.0.38
	is-mlppp-base:1.9
	phil-wifi-20200406:1.9
	netbsd-8-2-RELEASE:1.9
	ad-namecache-base3:1.9
	netbsd-9-0-RELEASE:1.9
	netbsd-9-0-RC2:1.9
	ad-namecache-base2:1.9
	ad-namecache-base1:1.9
	ad-namecache:1.9.0.36
	ad-namecache-base:1.9
	netbsd-9-0-RC1:1.9
	phil-wifi-20191119:1.9
	netbsd-9:1.9.0.34
	netbsd-9-base:1.9
	phil-wifi-20190609:1.9
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	isaki-audio2:1.9.0.32
	isaki-audio2-base:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.9
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.9.0.30
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.9
	pgoyette-compat:1.9.0.28
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.9
	tls-maxphys-base-20171202:1.9
	matt-nb8-mediatek:1.9.0.26
	matt-nb8-mediatek-base:1.9
	nick-nhusb-base-20170825:1.9
	perseant-stdc-iso10646:1.9.0.24
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.22
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.20
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	jdolecek-ncq:1.9.0.18
	jdolecek-ncq-base:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.9.0.16
	netbsd-7-1-RELEASE:1.9
	netbsd-7-1-RC2:1.9
	nick-nhusb-base-20170204:1.9
	netbsd-7-nhusb-base-20170116:1.9
	bouyer-socketcan:1.9.0.14
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.9
	nick-nhusb-base-20161204:1.9
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.9
	nick-nhusb-base-20161004:1.9
	localcount-20160914:1.9
	netbsd-7-nhusb:1.9.0.12
	netbsd-7-nhusb-base:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.10
	pgoyette-localcount-base:1.9
	nick-nhusb-base-20160907:1.9
	nick-nhusb-base-20160529:1.9
	netbsd-7-0-1-RELEASE:1.9
	nick-nhusb-base-20160422:1.9
	nick-nhusb-base-20160319:1.9
	nick-nhusb-base-20151226:1.9
	netbsd-7-0:1.9.0.8
	netbsd-7-0-RELEASE:1.9
	nick-nhusb-base-20150921:1.9
	netbsd-7-0-RC3:1.9
	netbsd-7-0-RC2:1.9
	netbsd-7-0-RC1:1.9
	nick-nhusb-base-20150606:1.9
	nick-nhusb-base-20150406:1.9
	nick-nhusb:1.9.0.6
	nick-nhusb-base:1.9
	netbsd-5-2-3-RELEASE:1.3.26.1
	netbsd-5-1-5-RELEASE:1.3.26.1
	netbsd-6-0-6-RELEASE:1.8
	netbsd-6-1-5-RELEASE:1.8
	netbsd-7:1.9.0.4
	netbsd-7-base:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.8
	netbsd-6-1-4-RELEASE:1.8
	netbsd-6-0-5-RELEASE:1.8
	tls-earlyentropy:1.9.0.2
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-6-1-3-RELEASE:1.8
	netbsd-6-0-4-RELEASE:1.8
	netbsd-5-2-2-RELEASE:1.3.26.1
	netbsd-5-1-4-RELEASE:1.3.26.1
	netbsd-6-1-2-RELEASE:1.8
	netbsd-6-0-3-RELEASE:1.8
	netbsd-5-2-1-RELEASE:1.3.26.1
	netbsd-5-1-3-RELEASE:1.3.26.1
	rmind-smpnet-nbase:1.9
	netbsd-6-1-1-RELEASE:1.8
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.24
	riastradh-drm2-base:1.8
	rmind-smpnet:1.8.0.16
	rmind-smpnet-base:1.9
	netbsd-6-1:1.8.0.22
	netbsd-6-0-2-RELEASE:1.8
	netbsd-6-1-RELEASE:1.8
	khorben-n900:1.8.0.20
	netbsd-6-1-RC4:1.8
	netbsd-6-1-RC3:1.8
	agc-symver:1.8.0.18
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.8
	netbsd-6-1-RC1:1.8
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.3.26.1.0.10
	netbsd-6-0-1-RELEASE:1.8
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.3.26.1
	netbsd-5-2-RC1:1.3.26.1
	matt-nb6-plus-nbase:1.8
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.8.0.14
	netbsd-6-0-RELEASE:1.8
	netbsd-6-0-RC2:1.8
	tls-maxphys:1.8.0.12
	tls-maxphys-base:1.9
	matt-nb6-plus:1.8.0.10
	matt-nb6-plus-base:1.8
	netbsd-6-0-RC1:1.8
	jmcneill-usbmp-base10:1.8
	yamt-pagecache-base5:1.8
	jmcneill-usbmp-base9:1.8
	yamt-pagecache-base4:1.8
	jmcneill-usbmp-base8:1.8
	jmcneill-usbmp-base7:1.8
	jmcneill-usbmp-base6:1.8
	jmcneill-usbmp-base5:1.8
	jmcneill-usbmp-base4:1.8
	jmcneill-usbmp-base3:1.8
	jmcneill-usbmp-pre-base2:1.8
	jmcneill-usbmp-base2:1.8
	netbsd-6:1.8.0.8
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.3.26.1
	netbsd-5-1-1-RELEASE:1.3.26.1
	jmcneill-usbmp:1.8.0.6
	jmcneill-usbmp-base:1.8
	jmcneill-audiomp3:1.8.0.4
	jmcneill-audiomp3-base:1.8
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.2
	yamt-pagecache-base:1.8
	rmind-uvmplock-nbase:1.5
	cherry-xenmp:1.5.0.2
	cherry-xenmp-base:1.5
	uebayasi-xip-base7:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.10
	bouyer-quota2-base:1.4
	jruoho-x86intr:1.4.0.8
	jruoho-x86intr-base:1.4
	matt-mips64-premerge-20101231:1.4
	matt-nb5-mips64-premerge-20101231:1.3.26.1
	matt-nb5-pq3:1.3.26.1.0.8
	matt-nb5-pq3-base:1.3.26.1
	netbsd-5-1:1.3.26.1.0.6
	uebayasi-xip-base6:1.4
	uebayasi-xip-base5:1.4
	netbsd-5-1-RELEASE:1.3.26.1
	uebayasi-xip-base4:1.4
	uebayasi-xip-base3:1.4
	yamt-nfs-mp-base11:1.4
	netbsd-5-1-RC4:1.3.26.1
	matt-nb5-mips64-k15:1.3.26.1
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	netbsd-5-1-RC3:1.3.26.1
	netbsd-5-1-RC2:1.3.26.1
	uebayasi-xip-base1:1.4
	netbsd-5-1-RC1:1.3.26.1
	rmind-uvmplock:1.4.0.6
	rmind-uvmplock-base:1.5
	yamt-nfs-mp-base9:1.4
	uebayasi-xip:1.4.0.4
	uebayasi-xip-base:1.4
	netbsd-5-0-2-RELEASE:1.3.26.1
	matt-nb5-mips64-premerge-20091211:1.3.26.1
	matt-premerge-20091211:1.4
	yamt-nfs-mp-base8:1.4
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3.26.1
	matt-nb4-mips64-k7-u2a-k9b:1.3.26.1
	matt-nb5-mips64-u1-k1-k5:1.3.26.1
	yamt-nfs-mp-base7:1.4
	matt-nb5-mips64:1.3.26.1.0.4
	netbsd-5-0-1-RELEASE:1.3.26.1
	jymxensuspend-base:1.4
	yamt-nfs-mp-base6:1.4
	yamt-nfs-mp-base5:1.4
	yamt-nfs-mp-base4:1.4
	jym-xensuspend-nbase:1.5
	yamt-nfs-mp-base3:1.4
	nick-hppapmap-base4:1.4
	nick-hppapmap-base3:1.4
	netbsd-5-0:1.3.26.1.0.2
	netbsd-5-0-RELEASE:1.3.26.1
	netbsd-5-0-RC4:1.3.26.1
	netbsd-5-0-RC3:1.3
	nick-hppapmap-base2:1.4
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.4.0.2
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.3
	haad-dm-base2:1.3
	haad-nbase2:1.3
	ad-audiomp2:1.3.0.28
	ad-audiomp2-base:1.3
	netbsd-5:1.3.0.26
	netbsd-5-base:1.3
	nick-hppapmap:1.3.0.24
	nick-hppapmap-base:1.4
	matt-mips64-base2:1.3
	haad-dm-base1:1.3
	wrstuden-revivesa-base-4:1.3
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa-base-2:1.3
	haad-dm:1.3.0.22
	haad-dm-base:1.3
	wrstuden-revivesa-base-1:1.3
	simonb-wapbl-nbase:1.3
	yamt-pf42-base4:1.3
	simonb-wapbl:1.3.0.20
	simonb-wapbl-base:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	yamt-pf42-baseX:1.3
	yamt-pf42-base2:1.3
	yamt-nfs-mp-base2:1.3
	wrstuden-revivesa:1.3.0.18
	wrstuden-revivesa-base:1.3
	yamt-nfs-mp:1.3.0.16
	yamt-nfs-mp-base:1.3
	yamt-pf42:1.3.0.14
	yamt-pf42-base:1.3
	ad-socklock-base1:1.3
	yamt-lazymbuf-base15:1.3
	yamt-lazymbuf-base14:1.3
	keiichi-mipv6-nbase:1.3
	mjf-devfs2:1.3.0.12
	mjf-devfs2-base:1.3
	nick-net80211-sync:1.3.0.10
	nick-net80211-sync-base:1.3
	keiichi-mipv6:1.3.0.8
	keiichi-mipv6-base:1.3
	yamt-lazymbuf:1.3.0.6
	bouyer-xeni386-merge1:1.2.2.1
	matt-armv6-base:1.3
	matt-armv6:1.3.0.4
	matt-armv6-nbase:1.3
	vmlocking2-base3:1.3
	bouyer-xeni386-nbase:1.3
	yamt-kmem-base3:1.3
	cube-autoconf:1.3.0.2
	cube-autoconf-base:1.3
	yamt-kmem-base2:1.2
	bouyer-xeni386:1.2.0.2
	bouyer-xeni386-base:1.3
	yamt-kmem:1.1.0.12
	yamt-kmem-base:1.1
	vmlocking2-base2:1.1
	reinoud-bufcleanup-nbase:1.1
	reinoud-bufcleanup-base:1.1
	vmlocking2:1.1.0.10
	vmlocking2-base1:1.1
	jmcneill-base:1.1
	mjf-devfs:1.1.0.8
	mjf-devfs-base:1.3
	hpcarm-cleanup-base:1.3
	bouyer-xenamd64-base2:1.1
	vmlocking-nbase:1.1
	yamt-x86pmap-base4:1.1
	bouyer-xenamd64:1.1.0.6
	bouyer-xenamd64-base:1.1
	yamt-x86pmap-base3:1.1
	vmlocking-base:1.1
	yamt-x86pmap-base2:1.1
	jmcneill-pm-base:1.1
	yamt-x86pmap:1.1.0.4
	yamt-x86pmap-base:1.1
	jmcneill-pm:1.1.0.2;
locks; strict;
comment	@# @;


1.9
date	2014.01.15.22.25.23;	author joerg;	state Exp;
branches;
next	1.8;
commitid	zMyRWUyBCFTApglx;

1.8
date	2011.09.15.12.32.30;	author christos;	state Exp;
branches
	1.8.2.1
	1.8.12.1
	1.8.16.1;
next	1.7;

1.7
date	2011.09.14.14.58.43;	author christos;	state Exp;
branches;
next	1.6;

1.6
date	2011.09.14.13.13.21;	author christos;	state Exp;
branches;
next	1.5;

1.5
date	2011.05.20.13.14.58;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2009.01.18.13.55.31;	author hans;	state Exp;
branches
	1.4.2.1
	1.4.6.1
	1.4.8.1;
next	1.3;

1.3
date	2007.12.11.13.56.50;	author lukem;	state Exp;
branches
	1.3.4.1
	1.3.6.1
	1.3.16.1
	1.3.24.1
	1.3.26.1;
next	1.2;

1.2
date	2007.12.09.20.32.17;	author jmcneill;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2007.09.07.21.01.06;	author jmcneill;	state dead;
branches
	1.1.2.1
	1.1.8.1
	1.1.10.1
	1.1.12.1;
next	;

1.8.2.1
date	2014.05.22.11.40.13;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.8.12.1
date	2014.08.20.00.03.29;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.8.16.1
date	2014.05.18.17.45.29;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.4.2.1
date	2011.08.27.15.37.29;	author jym;	state Exp;
branches;
next	;

1.4.6.1
date	2011.05.31.03.04.23;	author rmind;	state Exp;
branches;
next	;

1.4.8.1
date	2011.06.06.09.07.05;	author jruoho;	state Exp;
branches;
next	;

1.3.4.1
date	2007.12.11.13.56.50;	author matt;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2008.01.09.01.49.45;	author matt;	state Exp;
branches;
next	;

1.3.6.1
date	2007.12.11.13.56.50;	author yamt;	state dead;
branches;
next	1.3.6.2;

1.3.6.2
date	2008.01.21.09.40.05;	author yamt;	state Exp;
branches;
next	;

1.3.16.1
date	2009.05.04.08.12.09;	author yamt;	state Exp;
branches;
next	;

1.3.24.1
date	2009.01.19.13.17.08;	author skrll;	state Exp;
branches;
next	;

1.3.26.1
date	2009.03.27.14.50.36;	author msaitoh;	state Exp;
branches;
next	;

1.2.2.1
date	2007.12.13.21.55.01;	author bouyer;	state Exp;
branches;
next	;

1.1.2.1
date	2007.09.07.21.01.06;	author jmcneill;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.09.24.16.33.01;	author joerg;	state Exp;
branches;
next	;

1.1.8.1
date	2007.12.27.00.43.21;	author mjf;	state Exp;
branches;
next	;

1.1.10.1
date	2007.12.26.21.38.47;	author ad;	state Exp;
branches;
next	;

1.1.12.1
date	2007.12.11.15.20.48;	author yamt;	state Exp;
branches;
next	1.1.12.2;

1.1.12.2
date	2007.12.13.05.05.23;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Reduce amount of -no-integrated-as on x86 as .code16 is now supported by
LLVM.
@
text
@# $NetBSD: Makefile.wakecode.inc,v 1.8 2011/09/15 12:32:30 christos Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh
ACPI_GENCMD=		AWK=${TOOL_AWK:Q} \
			HEXDUMP=${TOOL_HEXDUMP:Q} \
			SED=${TOOL_SED:Q} \
			${HOST_SH}

AFLAGS.acpi_wakecode.S= -I${.CURDIR}


acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${_MKTARGET_CREATE}
	${CC} ${AFLAGS.acpi_wakecode.S} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${ACPI_GENCMD} ${ACPI_GENWAKECODE} > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.8
log
@fix typo, revert to previous version
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.7 2011/09/14 14:58:43 christos Exp $
d11 1
a11 1
AFLAGS.acpi_wakecode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}
@


1.8.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
d11 1
a11 1
AFLAGS.acpi_wakecode.S= -I${.CURDIR}
@


1.8.2.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.8 2011/09/15 12:32:30 christos Exp $
d11 1
a11 1
AFLAGS.acpi_wakecode.S= -I${.CURDIR}
@


1.8.16.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.8 2011/09/15 12:32:30 christos Exp $
d11 1
a11 1
AFLAGS.acpi_wakecode.S= -I${.CURDIR}
@


1.7
log
@revert previous; bug was in the position of the inclusion of the file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.6 2011/09/14 13:13:21 christos Exp $
a5 1
ACPI_WAKEUP_C=		${S}/arch/x86/acpi/acpi_wakeup.c
d23 1
a23 1
acpi_wakeup.o acpu_wakeup.d: acpi_wakecode.h
@


1.6
log
@Don't depend on the .d file here; since this is the only rule, acpi_wakeup.d
will never be build!
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.5 2011/05/20 13:14:58 joerg Exp $
d6 1
d24 1
a24 1
acpi_wakeup.o: acpi_wakecode.h
@


1.5
log
@LLVM's assembler parser doesn't support .code32 yet, so disable it as
needed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.4 2009/01/18 13:55:31 hans Exp $
d23 1
a23 1
acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.4
log
@Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.3 2007/12/11 13:56:50 lukem Exp $
d11 3
d16 1
a16 1
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
@


1.4.2.1
log
@Sync with HEAD. Most notably: uvm/pmap work done by rmind@@, and MP Xen
work of cherry@@.

No regression observed on suspend/restore.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.5 2011/05/20 13:14:58 joerg Exp $
a10 3
AFLAGS.acpi_wakecode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}


d13 1
a13 1
	${CC} ${AFLAGS.acpi_wakecode.S} -c ${ACPI_WAKECODE_S}
@


1.4.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.5 2011/05/20 13:14:58 joerg Exp $
a10 3
AFLAGS.acpi_wakecode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}


d13 1
a13 1
	${CC} ${AFLAGS.acpi_wakecode.S} -c ${ACPI_WAKECODE_S}
@


1.4.6.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD$
a10 3
AFLAGS.acpi_wakecode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}


d13 1
a13 1
	${CC} ${AFLAGS.acpi_wakecode.S} -c ${ACPI_WAKECODE_S}
@


1.3
log
@MAKEVERBOSE support
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.2 2007/12/09 20:32:17 jmcneill Exp $
d6 4
d17 1
a17 1
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
@


1.3.16.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.3 2007/12/11 13:56:50 lukem Exp $
a5 4
ACPI_GENCMD=		AWK=${TOOL_AWK:Q} \
			HEXDUMP=${TOOL_HEXDUMP:Q} \
			SED=${TOOL_SED:Q} \
			${HOST_SH}
d13 1
a13 1
	${ACPI_GENCMD} ${ACPI_GENWAKECODE} > acpi_wakecode.h
@


1.3.26.1
log
@Pull up following revision(s) (requested by sketch in ticket #536):
	etc/Makefile: revision 1.364
	Makefile: revision 1.267
	usr.sbin/postinstall/postinstall: revision 1.90
	usr.bin/hexdump/parse.c: revision 1.25
	sys/arch/x86/acpi/genwakecode.sh: revision 1.3
	usr.sbin/postinstall/postinstall: revision 1.87
	usr.sbin/postinstall/postinstall: revision 1.88
	usr.sbin/postinstall/postinstall: revision 1.89
	sys/arch/x86/acpi/Makefile.wakecode.inc: revision 1.4
	sys/conf/Makefile.kern.inc: revision 1.120
Use ll instead of non-standard q as length modifier in format strings. Makes
this work on Solaris. OK by apb.
Not every grep knows -q. Ok by apb.
Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb.
Use awk and grep host tools where required.  'build.sh release' now
works on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
"grep -q" is not portable; use "grep >/dev/null" instead.  Also add a
comment saying that postinstal is invoked during a cross build.
In file_exists_exact(), fix an incorrect test of "1" instead of "$1",
and improve the comment explaining what this function does.
As long as we don't yet have a working TOOL_GREP, fgrep is more portablethan grep -F.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.4 2009/01/18 13:55:31 hans Exp $
a5 4
ACPI_GENCMD=		AWK=${TOOL_AWK:Q} \
			HEXDUMP=${TOOL_HEXDUMP:Q} \
			SED=${TOOL_SED:Q} \
			${HOST_SH}
d13 1
a13 1
	${ACPI_GENCMD} ${ACPI_GENWAKECODE} > acpi_wakecode.h
@


1.3.24.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.4 2009/01/18 13:55:31 hans Exp $
a5 4
ACPI_GENCMD=		AWK=${TOOL_AWK:Q} \
			HEXDUMP=${TOOL_HEXDUMP:Q} \
			SED=${TOOL_SED:Q} \
			${HOST_SH}
d13 1
a13 1
	${ACPI_GENCMD} ${ACPI_GENWAKECODE} > acpi_wakecode.h
@


1.3.6.1
log
@file Makefile.wakecode.inc was added on branch yamt-lazymbuf on 2008-01-21 09:40:05 +0000
@
text
@d1 16
@


1.3.6.2
log
@sync with head
@
text
@a0 16
# $NetBSD$
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh

acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${_MKTARGET_CREATE}
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.3.4.1
log
@file Makefile.wakecode.inc was added on branch matt-armv6 on 2008-01-09 01:49:45 +0000
@
text
@d1 16
@


1.3.4.2
log
@sync with HEAD
@
text
@a0 16
# $NetBSD$
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh

acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${_MKTARGET_CREATE}
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.2
log
@How did these get lost?
@
text
@d1 1
a1 1
# $NetBSD$
d8 1
@


1.2.2.1
log
@Sync with HEAD
@
text
@a7 1
	${_MKTARGET_CREATE}
@


1.1
log
@file Makefile.wakecode.inc was initially added on branch jmcneill-pm.
@
text
@d1 15
@


1.1.8.1
log
@Sync with HEAD.
@
text
@a0 16
# $NetBSD: Makefile.wakecode.inc,v 1.3 2007/12/11 13:56:50 lukem Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh

acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${_MKTARGET_CREATE}
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.1.10.1
log
@Sync with head.
@
text
@a0 16
# $NetBSD: Makefile.wakecode.inc,v 1.3 2007/12/11 13:56:50 lukem Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh

acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${_MKTARGET_CREATE}
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.1.12.1
log
@sync with head.
@
text
@a0 15
# $NetBSD: Makefile.wakecode.inc,v 1.2 2007/12/09 20:32:17 jmcneill Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh

acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


1.1.12.2
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.1.12.1 2007/12/11 15:20:48 yamt Exp $
a7 1
	${_MKTARGET_CREATE}
@


1.1.2.1
log
@Share ACPI wakecode generation between i386 and amd64, and convert amd64
to use joerg's new build scripts for generating wakecode.
@
text
@a0 12
# $NetBSD: Makefile.wakecode,v 1.4.48.1 2007/09/07 15:12:54 joerg Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp

.include <bsd.sys.mk>		# for HOST_SH

all: acpi_wakecode.h

acpi_wakecode.h: acpi_wakecode.S genwakecode.sh
	${CC} -c acpi_wakecode.S
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib -o acpi_wakecode.bin --oformat binary -e wakeup_16 -Ttext 0 acpi_wakecode.o
	${HOST_SH} ${.CURDIR}/genwakecode.sh > acpi_wakecode.h
	rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map
@


1.1.2.2
log
@Generate the ACPI wakecode image dynamically at build time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.wakecode.inc,v 1.1.2.1 2007/09/07 21:01:06 jmcneill Exp $
d4 1
a4 2
ACPI_WAKECODE_S=	${S}/arch/${MACHINE}/acpi/acpi_wakecode.S
ACPI_GENWAKECODE=	${S}/arch/x86/acpi/genwakecode.sh
d6 6
a11 6
acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE}
	${CC} -I${.CURDIR} -c ${ACPI_WAKECODE_S}
	${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \
	    --oformat binary -e wakeup_16 -Ttext 0 \
	    -o acpi_wakecode.bin acpi_wakecode.o
	${HOST_SH} ${ACPI_GENWAKECODE} > acpi_wakecode.h
a12 2

acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h
@


