Codebase list firmware-tomu / 22965c5
d/rules: set full hardening build options. Louis-Philippe VĂ©ronneau 4 years ago
2 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
33 * Use debhelper-compat instead of debian/compat.
44 * d/control: set Rules-Requires-Root.
55 * Use the full Salsa Pipeline.
6 * d/rules: set full hardening build options.
67
78 -- Louis-Philippe VĂ©ronneau <pollo@debian.org> Fri, 19 Jul 2019 12:28:43 -0400
89
00 #!/usr/bin/make -f
1
2 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
3
4 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
5 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
6 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
17
28 %:
39 dh $@
511 override_dh_auto_build:
612 dh_auto_build --sourcedirectory=toboot
713 dh_auto_build --sourcedirectory=booster
8 gcc booster/make-booster.c -o booster/make-booster
14 gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) booster/make-booster.c -o booster/make-booster
915 cd booster && ./make-booster ../toboot/toboot.bin toboot-booster.bin && cp toboot-booster.bin toboot-booster.dfu
1016 dfu-suffix --pid 0x70b1 --vid 0x1209 --add booster/toboot-booster.dfu
1117